U4-8729 - reviewing PR
This commit is contained in:
@@ -29,11 +29,11 @@ namespace Umbraco.Core.Persistence.SqlSyntax
|
||||
|
||||
public override string GetQuotedTableName(string tableName)
|
||||
{
|
||||
if (tableName.Contains(".")) {
|
||||
var tableNameParts = tableName.Split(new char[] { '.' }, 2);
|
||||
return string.Format("[{0}].[{1}]", tableNameParts[0], tableNameParts[1]);
|
||||
} else
|
||||
if (tableName.Contains(".") == false)
|
||||
return string.Format("[{0}]", tableName);
|
||||
|
||||
var tableNameParts = tableName.Split(new[] { '.' }, 2);
|
||||
return string.Format("[{0}].[{1}]", tableNameParts[0], tableNameParts[1]);
|
||||
}
|
||||
|
||||
public override string GetQuotedColumnName(string columnName)
|
||||
|
||||
Reference in New Issue
Block a user