C# Class Marten.Util.TypeMappings

Datei anzeigen Open project: JasperFx/marten

Public Methods

Method Description
ApplyCastToLocator ( this locator, EnumStorage enumStyle, Type memberType ) : string
CanonicizeSql ( this sql ) : string
ConvertSynonyms ( string type ) : string
GetPgType ( Type memberType ) : string
HasTypeMapping ( Type memberType ) : bool
IsDate ( this value ) : bool
ReplaceMultiSpace ( this str, string newStr ) : string
ToDbType ( Type type ) : NpgsqlDbType

Private Methods

Method Description
TypeMappings ( ) : System

Method Details

ApplyCastToLocator() public static method

public static ApplyCastToLocator ( this locator, EnumStorage enumStyle, Type memberType ) : string
locator this
enumStyle EnumStorage
memberType System.Type
return string

CanonicizeSql() public static method

public static CanonicizeSql ( this sql ) : string
sql this
return string

ConvertSynonyms() public static method

public static ConvertSynonyms ( string type ) : string
type string
return string

GetPgType() public static method

public static GetPgType ( Type memberType ) : string
memberType System.Type
return string

HasTypeMapping() public static method

public static HasTypeMapping ( Type memberType ) : bool
memberType System.Type
return bool

IsDate() public static method

public static IsDate ( this value ) : bool
value this
return bool

ReplaceMultiSpace() public static method

public static ReplaceMultiSpace ( this str, string newStr ) : string
str this
newStr string
return string

ToDbType() public static method

public static ToDbType ( Type type ) : NpgsqlDbType
type System.Type
return NpgsqlDbType