Skip to main content

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
TypeName
System.StringconnectionString

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
TypeName
System.StringconnectionString

CreateConnection(String, Dictionary<String, String>)

View Source
Declaration
public override IDbConnection CreateConnection(string connectionString, Dictionary<string, string> options)
Returns

System.Data.IDbConnection

Parameters
TypeName
System.StringconnectionString
System.Collections.Generic.Dictionary<System.String,System.String>options

CreateFullTextCreateTableStatement(Object)

View Source
Declaration
public static string CreateFullTextCreateTableStatement(object objectWithProperties)
Returns

System.String

Parameters
TypeName
System.ObjectobjectWithProperties

DisableForeignKeysCheck(IDbCommand)

View Source
Declaration
public override void DisableForeignKeysCheck(IDbCommand cmd)
Parameters
TypeName
System.Data.IDbCommandcmd

DisableForeignKeysCheckAsync(IDbCommand, CancellationToken)

View Source
Declaration
public override Task DisableForeignKeysCheckAsync(IDbCommand cmd, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Data.IDbCommandcmd
System.Threading.CancellationTokentoken

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
TypeName
System.Data.IDbConnectiondb
System.StringcolumnName
System.StringtableName
System.Stringschema

DoesSchemaExist(IDbCommand, String)

View Source
Declaration
public override bool DoesSchemaExist(IDbCommand dbCmd, string schemaName)
Returns

System.Boolean

Parameters
TypeName
System.Data.IDbCommanddbCmd
System.StringschemaName

DoesTableExist(IDbCommand, String, String)

View Source
Declaration
public override bool DoesTableExist(IDbCommand dbCmd, string tableName, string schema = null)
Returns

System.Boolean

Parameters
TypeName
System.Data.IDbCommanddbCmd
System.StringtableName
System.Stringschema

EnableForeignKeysCheck(IDbCommand)

View Source
Declaration
public override void EnableForeignKeysCheck(IDbCommand cmd)
Parameters
TypeName
System.Data.IDbCommandcmd

EnableForeignKeysCheckAsync(IDbCommand, CancellationToken)

View Source
Declaration
public override Task EnableForeignKeysCheckAsync(IDbCommand cmd, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Data.IDbCommandcmd
System.Threading.CancellationTokentoken

GetColumnDefinition(FieldDefinition)

View Source
Declaration
public override string GetColumnDefinition(FieldDefinition fieldDef)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.FieldDefinitionfieldDef

GetQuotedName(String, String)

View Source
Declaration
public override string GetQuotedName(string name, string schema)
Returns

System.String

Parameters
TypeName
System.Stringname
System.Stringschema

GetQuotedTableName(String, String)

View Source
Declaration
public override string GetQuotedTableName(string tableName, string schema = null)
Returns

System.String

Parameters
TypeName
System.StringtableName
System.Stringschema

GetSchemaName(String)

View Source
Declaration
public override string GetSchemaName(string schema)
Returns

System.String

Parameters
TypeName
System.Stringschema

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
TypeName
System.Data.IDbCommanddbCmd

GetTableName(String, String)

View Source
Declaration
public override string GetTableName(string table, string schema = null)
Returns

System.String

Parameters
TypeName
System.Stringtable
System.Stringschema

GetTableName(String, String, Boolean)

View Source
Declaration
public override string GetTableName(string table, string schema, bool useStrategy)
Returns

System.String

Parameters
TypeName
System.Stringtable
System.Stringschema
System.BooleanuseStrategy

SqlBool(Boolean)

View Source
Declaration
public override string SqlBool(bool value)
Returns

System.String

Parameters
TypeName
System.Booleanvalue

SqlConcat(IEnumerable<Object>)

View Source
Declaration
public override string SqlConcat(IEnumerable<object> args)
Returns

System.String

Parameters
TypeName
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
TypeName
System.Stringsql
System.StringconflictResolution

SqlCurrency(String, String)

View Source
Declaration
public override string SqlCurrency(string fieldOrValue, string currencySymbol)
Returns

System.String

Parameters
TypeName
System.StringfieldOrValue
System.StringcurrencySymbol

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
TypeName
System.StringschemaName

ToPostCreateTableStatement(ModelDefinition)

View Source
Declaration
public override string ToPostCreateTableStatement(ModelDefinition modelDef)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.ModelDefinitionmodelDef

ToPostDropTableStatement(ModelDefinition)

View Source
Declaration
public override string ToPostDropTableStatement(ModelDefinition modelDef)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.ModelDefinitionmodelDef

ToTableNamesStatement(String)

View Source
Declaration
public override string ToTableNamesStatement(string schema)
Returns

System.String

Parameters
TypeName
System.Stringschema

Implements