Merge origin/dev-v7-deploy into dev-v8-zbwip (builds)

This commit is contained in:
Stephan
2016-11-03 10:31:44 +01:00
412 changed files with 12532 additions and 5381 deletions

View File

@@ -210,6 +210,11 @@ order by T.name, I.name");
return column.IsIdentity ? GetIdentityString(column) : string.Empty;
}
public override Sql<SqlContext> SelectTop(Sql<SqlContext> sql, int top)
{
return new Sql<SqlContext>(sql.SqlContext, sql.SQL.Insert(sql.SQL.IndexOf(' '), " TOP " + top), sql.Arguments);
}
private static string GetIdentityString(ColumnDefinition column)
{
return "IDENTITY(1,1)";