C# Class ServiceStack.OrmLite.OrmLiteConfig

Exibir arquivo Open project: ServiceStack/ServiceStack.OrmLite Class Usage Examples

Public Properties

Property Type Description
SanitizeFieldNameForParamNameFn string>.Func

Public Methods

Method Description
ClearCache ( ) : void
GetDialectProvider ( this dbCmd ) : IOrmLiteDialectProvider
GetExecFilter ( this dialectProvider ) : IOrmLiteExecFilter
GetModelMetadata ( this modelType ) : ServiceStack.OrmLite.ModelDefinition
OpenDbConnection ( this dbConnectionStringOrFilePath ) : IDbConnection
OpenReadOnlyDbConnection ( this dbConnectionStringOrFilePath ) : IDbConnection
SetCommandTimeout ( this db, int commandTimeout ) : void
SetLastCommandText ( this db, string sql ) : void
ToDbConnection ( this dbConnectionStringOrFilePath ) : IDbConnection
ToDbConnection ( this dbConnectionStringOrFilePath, IOrmLiteDialectProvider dialectProvider ) : IDbConnection

Method Details

ClearCache() public static method

public static ClearCache ( ) : void
return void

GetDialectProvider() public static method

public static GetDialectProvider ( this dbCmd ) : IOrmLiteDialectProvider
dbCmd this
return IOrmLiteDialectProvider

GetExecFilter() public static method

public static GetExecFilter ( this dialectProvider ) : IOrmLiteExecFilter
dialectProvider this
return IOrmLiteExecFilter

GetModelMetadata() public static method

public static GetModelMetadata ( this modelType ) : ServiceStack.OrmLite.ModelDefinition
modelType this
return ServiceStack.OrmLite.ModelDefinition

OpenDbConnection() public static method

public static OpenDbConnection ( this dbConnectionStringOrFilePath ) : IDbConnection
dbConnectionStringOrFilePath this
return IDbConnection

OpenReadOnlyDbConnection() public static method

public static OpenReadOnlyDbConnection ( this dbConnectionStringOrFilePath ) : IDbConnection
dbConnectionStringOrFilePath this
return IDbConnection

SetCommandTimeout() public static method

public static SetCommandTimeout ( this db, int commandTimeout ) : void
db this
commandTimeout int
return void

SetLastCommandText() public static method

public static SetLastCommandText ( this db, string sql ) : void
db this
sql string
return void

ToDbConnection() public static method

public static ToDbConnection ( this dbConnectionStringOrFilePath ) : IDbConnection
dbConnectionStringOrFilePath this
return IDbConnection

ToDbConnection() public static method

public static ToDbConnection ( this dbConnectionStringOrFilePath, IOrmLiteDialectProvider dialectProvider ) : IDbConnection
dbConnectionStringOrFilePath this
dialectProvider IOrmLiteDialectProvider
return IDbConnection

Property Details

SanitizeFieldNameForParamNameFn public_oe static_oe property

public static Func SanitizeFieldNameForParamNameFn
return string>.Func