Class DbTypeDecoratorExtensions
Extension methods for the DbType enumeration hidden behind the IDecorator<T> interface.
public static class DbTypeDecoratorExtensions
- Inheritance
-
DbTypeDecoratorExtensions
Methods
ToType(IDecorator<DbType>)
public static Type ToType(this IDecorator<DbType> decorator)
Parameters
decoratorIDecorator<DbType>The IDecorator<T> to extend.
Returns
Exceptions
- ArgumentNullException
decoratoris null or its underlying value is null.- ArgumentOutOfRangeException
decoratorunderlying value is not valid.
See Also
IDecorator<T>
Decorator<T>