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
Type | Name |
---|---|
ServiceStack.OrmLite.FieldDefinition | fieldDef |
ToCreateTableStatement(Type)
View Source
Declaration
public override string ToCreateTableStatement(Type tableType)
Returns
System.String
Parameters
Type | Name |
---|---|
Type | tableType |
Inherited Methods
AppendFieldCondition(StringBuilder, FieldDefinition, IDbCommand)
View Source
Declaration
public override void AppendFieldCondition(StringBuilder sqlFilter, FieldDefinition fieldDef, IDbCommand cmd)
Parameters
Type | Name |
---|---|
StringBuilder | sqlFilter |
ServiceStack.OrmLite.FieldDefinition | fieldDef |
IDbCommand | cmd |
AppendNullFieldCondition(StringBuilder, FieldDefinition)
View Source
Declaration
public override void AppendNullFieldCondition(StringBuilder sqlFilter, FieldDefinition fieldDef)
Parameters
Type | Name |
---|---|
StringBuilder | sqlFilter |
ServiceStack.OrmLite.FieldDefinition | fieldDef |
DoesSequenceExist(IDbCommand, String)
View Source
Declaration
public override bool DoesSequenceExist(IDbCommand dbCmd, string sequence)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sequence |
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
Type | Name |
---|---|
IDbCommand | dbCmd |
System.String | sequenceName |
CancellationToken | token |
GetAutoIncrementDefinition(FieldDefinition)
View Source
Declaration
protected override string GetAutoIncrementDefinition(FieldDefinition fieldDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.FieldDefinition | fieldDef |
GetColumnDefinition(FieldDefinition)
View Source
Declaration
public override string GetColumnDefinition(FieldDefinition fieldDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.FieldDefinition | fieldDef |
SequenceList(Type)
View Source
Declaration
public override List<string> SequenceList(Type tableType)
Returns
List<System.String>
Parameters
Type | Name |
---|---|
Type | tableType |
ShouldSkipInsert(FieldDefinition)
View Source
Declaration
protected override bool ShouldSkipInsert(FieldDefinition fieldDef)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.FieldDefinition | fieldDef |
SupportsSequences(FieldDefinition)
View Source
Declaration
protected override bool SupportsSequences(FieldDefinition fieldDef)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.FieldDefinition | fieldDef |
ToCreateSequenceStatement(Type, String)
View Source
Declaration
public override string ToCreateSequenceStatement(Type tableType, string sequenceName)
Returns
System.String
Parameters
Type | Name |
---|---|
Type | tableType |
System.String | sequenceName |
ToCreateSequenceStatements(Type)
View Source
Declaration
public override List<string> ToCreateSequenceStatements(Type tableType)
Returns
List<System.String>
Parameters
Type | Name |
---|---|
Type | tableType |
ToCreateTableStatement(Type)
View Source
Declaration
public override string ToCreateTableStatement(Type tableType)
Returns
System.String
Parameters
Type | Name |
---|---|
Type | tableType |
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
Type | Name |
---|---|
ServiceStack.OrmLite.QueryType | queryType |
ServiceStack.OrmLite.ModelDefinition | modelDef |
System.String | selectExpression |
System.String | bodyExpression |
System.String | orderByExpression |
System.Nullable<System.Int32> | offset |
System.Nullable<System.Int32> | rows |
ISet<System.String> | tags |