Skip to main content

SqlServer2014OrmLiteDialectProvider

Assembly: ServiceStack.OrmLite.SqlServer.Data.dll
View Source
Declaration
public class SqlServer2014OrmLiteDialectProvider : SqlServer2012OrmLiteDialectProvider, IOrmLiteDialectProvider

Fields

Instance

View Source
Declaration
public static SqlServer2014OrmLiteDialectProvider Instance

Methods

GetColumnDefinition(FieldDefinition)

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

System.String

Parameters
TypeName
ServiceStack.OrmLite.FieldDefinitionfieldDef

ToCreateTableStatement(Type)

View Source
Declaration
public override string ToCreateTableStatement(Type tableType)
Returns

System.String

Parameters
TypeName
TypetableType

Inherited Methods

AppendFieldCondition(StringBuilder, FieldDefinition, IDbCommand)

View Source
Declaration
public override void AppendFieldCondition(StringBuilder sqlFilter, FieldDefinition fieldDef, IDbCommand cmd)
Parameters
TypeName
StringBuildersqlFilter
ServiceStack.OrmLite.FieldDefinitionfieldDef
IDbCommandcmd

AppendNullFieldCondition(StringBuilder, FieldDefinition)

View Source
Declaration
public override void AppendNullFieldCondition(StringBuilder sqlFilter, FieldDefinition fieldDef)
Parameters
TypeName
StringBuildersqlFilter
ServiceStack.OrmLite.FieldDefinitionfieldDef

DoesSequenceExist(IDbCommand, String)

View Source
Declaration
public override bool DoesSequenceExist(IDbCommand dbCmd, string sequence)
Returns

System.Boolean

Parameters
TypeName
IDbCommanddbCmd
System.Stringsequence

DoesSequenceExistAsync(IDbCommand, String, CancellationToken)

View Source
Declaration
public override async Task<bool> DoesSequenceExistAsync(IDbCommand dbCmd, string sequenceName, CancellationToken token = null)
Returns

Task<System.Boolean>

Parameters
TypeName
IDbCommanddbCmd
System.StringsequenceName
CancellationTokentoken

GetAutoIncrementDefinition(FieldDefinition)

View Source
Declaration
protected override string GetAutoIncrementDefinition(FieldDefinition fieldDef)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.FieldDefinitionfieldDef

GetColumnDefinition(FieldDefinition)

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

System.String

Parameters
TypeName
ServiceStack.OrmLite.FieldDefinitionfieldDef

SequenceList(Type)

View Source
Declaration
public override List<string> SequenceList(Type tableType)
Returns

List<System.String>

Parameters
TypeName
TypetableType

ShouldSkipInsert(FieldDefinition)

View Source
Declaration
protected override bool ShouldSkipInsert(FieldDefinition fieldDef)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.OrmLite.FieldDefinitionfieldDef

SupportsSequences(FieldDefinition)

View Source
Declaration
protected override bool SupportsSequences(FieldDefinition fieldDef)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.OrmLite.FieldDefinitionfieldDef

ToCreateSequenceStatement(Type, String)

View Source
Declaration
public override string ToCreateSequenceStatement(Type tableType, string sequenceName)
Returns

System.String

Parameters
TypeName
TypetableType
System.StringsequenceName

ToCreateSequenceStatements(Type)

View Source
Declaration
public override List<string> ToCreateSequenceStatements(Type tableType)
Returns

List<System.String>

Parameters
TypeName
TypetableType

ToCreateTableStatement(Type)

View Source
Declaration
public override string ToCreateTableStatement(Type tableType)
Returns

System.String

Parameters
TypeName
TypetableType

ToSelectStatement(QueryType, ModelDefinition, String, String, String, Nullable<Int32>, Nullable<Int32>, ISet<String>)

View Source
Declaration
public override string ToSelectStatement(QueryType queryType, ModelDefinition modelDef, string selectExpression, string bodyExpression, string orderByExpression = null, int? offset = null, int? rows = null, ISet<string> tags = null)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.QueryTypequeryType
ServiceStack.OrmLite.ModelDefinitionmodelDef
System.StringselectExpression
System.StringbodyExpression
System.StringorderByExpression
System.Nullable<System.Int32>offset
System.Nullable<System.Int32>rows
ISet<System.String>tags

Implements