SqliteOrmLiteDialectProvider
Assembly: ServiceStack.OrmLite.Sqlite.dll
View Source
Declaration
public class SqliteOrmLiteDialectProvider : SqliteOrmLiteDialectProviderBase, IOrmLiteDialectProvider
Inherited Properties
ParseViaFramework
View Source
Declaration
public static bool ParseViaFramework { get; set; }
Password
View Source
Declaration
public static string Password { get; set; }
SqlRandom
View Source
Declaration
public override string SqlRandom { get; }
UTF8Encoded
View Source
Declaration
public static bool UTF8Encoded { get; set; }
Fields
Instance
View Source
Declaration
public static SqliteOrmLiteDialectProvider Instance
Methods
CreateConnection(String)
View Source
Declaration
protected override IDbConnection CreateConnection(string connectionString)
Returns
System.Data.IDbConnection
Parameters
Type | Name |
---|---|
System.String | connectionString |
CreateParam()
View Source
Declaration
public override IDbDataParameter CreateParam()
Returns
System.Data.IDbDataParameter
Inherited Methods
CreateConnection(String)
View Source
Declaration
protected abstract IDbConnection CreateConnection(string connectionString)
Returns
System.Data.IDbConnection
Parameters
Type | Name |
---|---|
System.String | connectionString |
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 |
CreateFullTextCreateTableStatement(Object)
View Source
Declaration
public static string CreateFullTextCreateTableStatement(object objectWithProperties)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Object | objectWithProperties |
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 |
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 |
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 |
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 |
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 |
GetColumnDefinition(FieldDefinition)
View Source
Declaration
public override string GetColumnDefinition(FieldDefinition fieldDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.FieldDefinition | fieldDef |
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 |
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 |
GetSchemaName(String)
View Source
Declaration
public override string GetSchemaName(string schema)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | schema |
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 |
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 |
SqlBool(Boolean)
View Source
Declaration
public override string SqlBool(bool value)
Returns
System.String
Parameters
Type | Name |
---|---|
System.Boolean | value |
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 |
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 |
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 |
SqlExpression<T>()
View Source
Declaration
public override SqlExpression<T> SqlExpression<T>()
Returns
ServiceStack.OrmLite.SqlExpression<T>
Type Parameters
T
ToCreateSchemaStatement(String)
View Source
Declaration
public override string ToCreateSchemaStatement(string schemaName)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | schemaName |
ToPostCreateTableStatement(ModelDefinition)
View Source
Declaration
public override string ToPostCreateTableStatement(ModelDefinition modelDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ModelDefinition | modelDef |
ToPostDropTableStatement(ModelDefinition)
View Source
Declaration
public override string ToPostDropTableStatement(ModelDefinition modelDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ModelDefinition | modelDef |
ToTableNamesStatement(String)
View Source
Declaration
public override string ToTableNamesStatement(string schema)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | schema |