C# Class Dibware.StoredProcedureFramework.Helpers.ClrTypeToSqlDbTypeMapper

Show file Open project: dibley1973/StoredProcedureFramework

Public Methods

Method Description
GetSqlDbTypeFromClrType ( Type clrType ) : SqlDbType

Gets the mapped SqlDbType for the specified CLR type.

Private Methods

Method Description
ClrTypeToSqlDbTypeMapper ( ) : System

Initializes the ClrTypeToSqlDbTypeMapper class.

CreateClrTypeToSqlTypeMaps ( ) : void
EnsureTypeExists ( Type clrType ) : void

Method Details

GetSqlDbTypeFromClrType() public static method

Gets the mapped SqlDbType for the specified CLR type.
public static GetSqlDbTypeFromClrType ( Type clrType ) : SqlDbType
clrType System.Type The CLR Type to get mapped SqlDbType for.
return SqlDbType