Refactoring SqlSyntaProvider to use the new common definitions.

This commit is contained in:
Morten Christensen
2012-12-19 15:23:05 -01:00
parent 97f759b658
commit 2ea3fe624f
11 changed files with 293 additions and 335 deletions

View File

@@ -34,6 +34,21 @@ namespace Umbraco.Core.Persistence.SqlSyntax
InitColumnTypeMap();
}
public override string GetQuotedTableName(string tableName)
{
return string.Format("[{0}]", tableName);
}
public override string GetQuotedColumnName(string columnName)
{
return string.Format("[{0}]", columnName);
}
public override string GetQuotedName(string name)
{
return string.Format("[{0}]", name);
}
public override bool DoesTableExist(Database db, string tableName)
{
var result =