SqliteOrmLiteDialectProviderBase
Assembly: ServiceStack.OrmLite.Sqlite.dll
View Source
Declaration
public abstract class SqliteOrmLiteDialectProviderBase : OrmLiteDialectProviderBase<SqliteOrmLiteDialectProviderBase>, IOrmLiteDialectProvider
Properties
Password
View Source
Declaration
public static string Password { get; set; }
UTF8Encoded
View Source
Declaration
public static bool UTF8Encoded { get; set; }
ParseViaFramework
View Source
Declaration
public static bool ParseViaFramework { get; set; }
SqlRandom
View Source
Declaration
public override string SqlRandom { get; }
Fields
RowVersionTriggerFormat
View Source
Declaration
public static string RowVersionTriggerFormat
Methods
ToPostDropTableStatement(ModelDefinition)
View Source
Declaration
public override string ToPostDropTableStatement(ModelDefinition modelDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ModelDefinition | modelDef |
ToPostCreateTableStatement(ModelDefinition)
View Source
Declaration
public override string ToPostCreateTableStatement(ModelDefinition modelDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ModelDefinition | modelDef |
CreateFullTextCreateTableStatement(Object)
View Source
Declaration
public static string CreateFullTextCreateTableStatement(object objectWithProperties)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | objectWithProperties |
CreateConnection(String, Dictionary<String, String>)
View Source
Declaration
public override IDbConnection CreateConnection(string connectionString, Dictionary<string, string> options)
Returns
System.Data.IDbConnection
Parameters
Type | Name |
---|---|
System.String | connectionString |
System.Collections.Generic.Dictionary<System.String,System.String> | options |
CreateConnection(String)
View Source
Declaration
protected abstract IDbConnection CreateConnection(string connectionString)
Returns
System.Data.IDbConnection
Parameters
Type | Name |
---|---|
System.String | connectionString |
GetQuotedName(String, String)
View Source
Declaration
public override string GetQuotedName(string name, string schema)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
System.String | schema |
ToTableNamesStatement(String)
View Source
Declaration
public override string ToTableNamesStatement(string schema)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | schema |
GetSchemaName(String)
View Source
Declaration
public override string GetSchemaName(string schema)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | schema |
GetTableName(String, String)
View Source
Declaration
public override string GetTableName(string table, string schema = null)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | table |
System.String | schema |
GetTableName(String, String, Boolean)
View Source
Declaration
public override string GetTableName(string table, string schema, bool useStrategy)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | table |
System.String | schema |
System.Boolean | useStrategy |
GetQuotedTableName(String, String)
View Source
Declaration
public override string GetQuotedTableName(string tableName, string schema = null)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | tableName |
System.String | schema |
SqlExpression<T>()
View Source
Declaration
public override SqlExpression<T> SqlExpression<T>()
Returns
ServiceStack.OrmLite.SqlExpression<T>
Type Parameters
T
GetSchemaTables(IDbCommand)
View Source
Declaration
public override Dictionary<string, List<string>> GetSchemaTables(IDbCommand dbCmd)
Returns
System.Collections.Generic.Dictionary<System.String,System.Collections.Generic.List<System.String>>
Parameters
Type | Name |
---|---|
System.Data.IDbCommand | dbCmd |
DoesSchemaExist(IDbCommand, String)
View Source
Declaration
public override bool DoesSchemaExist(IDbCommand dbCmd, string schemaName)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Data.IDbCommand | dbCmd |
System.String | schemaName |
ToCreateSchemaStatement(String)
View Source
Declaration
public override string ToCreateSchemaStatement(string schemaName)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | schemaName |
DoesTableExist(IDbCommand, String, String)
View Source
Declaration
public override bool DoesTableExist(IDbCommand dbCmd, string tableName, string schema = null)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Data.IDbCommand | dbCmd |
System.String | tableName |
System.String | schema |
DoesColumnExist(IDbConnection, String, String, String)
View Source
Declaration
public override bool DoesColumnExist(IDbConnection db, string columnName, string tableName, string schema = null)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Data.IDbConnection | db |
System.String | columnName |
System.String | tableName |
System.String | schema |
GetColumnDefinition(FieldDefinition)
View Source
Declaration
public override string GetColumnDefinition(FieldDefinition fieldDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.FieldDefinition | fieldDef |
SqlConflict(String, String)
View Source
Declaration
public override string SqlConflict(string sql, string conflictResolution)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | sql |
System.String | conflictResolution |
SqlConcat(IEnumerable<Object>)
View Source
Declaration
public override string SqlConcat(IEnumerable<object> args)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | args |
SqlCurrency(String, String)
View Source
Declaration
public override string SqlCurrency(string fieldOrValue, string currencySymbol)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | fieldOrValue |
System.String | currencySymbol |
SqlBool(Boolean)
View Source
Declaration
public override string SqlBool(bool value)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Boolean | value |
EnableForeignKeysCheck(IDbCommand)
View Source
Declaration
public override void EnableForeignKeysCheck(IDbCommand cmd)
Parameters
Type | Name |
---|---|
System.Data.IDbCommand | cmd |
EnableForeignKeysCheckAsync(IDbCommand, CancellationToken)
View Source
Declaration
public override Task EnableForeignKeysCheckAsync(IDbCommand cmd, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.Data.IDbCommand | cmd |
System.Threading.CancellationToken | token |
DisableForeignKeysCheck(IDbCommand)
View Source
Declaration
public override void DisableForeignKeysCheck(IDbCommand cmd)
Parameters
Type | Name |
---|---|
System.Data.IDbCommand | cmd |
DisableForeignKeysCheckAsync(IDbCommand, CancellationToken)
View Source
Declaration
public override Task DisableForeignKeysCheckAsync(IDbCommand cmd, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.Data.IDbCommand | cmd |
System.Threading.CancellationToken | token |