Table of Contents

Class DbTypeDecoratorExtensions

Namespace
Cuemon.Data
Assembly
Cuemon.Data.dll

Extension methods for the System.Data.DbType enumeration hidden behind the IDecorator<T> interface.

public static class DbTypeDecoratorExtensions
Inheritance
Object
DbTypeDecoratorExtensions

Methods

ToType(IDecorator<DbType>)

Provides the equivalent System.Type of the underlying System.Data.DbType enumeration value of the decorator.

public static Type ToType(this IDecorator<DbType> decorator)

Parameters

decorator IDecorator<DbType>

The IDecorator<T> to extend.

Returns

Type

The equivalent System.Type of the underlying System.Data.DbType enumeration value of the decorator.

Exceptions

System.ArgumentNullException

decorator is null or its underlying value is null.

ArgumentOutOfRangeException

decorator underlying value is not valid.

See Also