Use ISqlContext

This commit is contained in:
Stephan
2017-09-22 18:48:58 +02:00
parent ee1941b9bf
commit c1e2625de0
56 changed files with 181 additions and 190 deletions

View File

@@ -495,15 +495,9 @@ namespace Umbraco.Core.Persistence.SqlSyntax
protected abstract string FormatIdentity(ColumnDefinition column);
public abstract Sql<SqlContext> SelectTop(Sql<SqlContext> sql, int top);
public abstract Sql<ISqlContext> SelectTop(Sql<ISqlContext> sql, int top);
public virtual string DeleteDefaultConstraint
{
get
{
throw new NotSupportedException("Default constraints are not supported");
}
}
public virtual string DeleteDefaultConstraint => throw new NotSupportedException("Default constraints are not supported");
public virtual string CreateTable => "CREATE TABLE {0} ({1})";
public virtual string DropTable => "DROP TABLE {0}";