Backported changes from 6.1 to fix how RePublishAll behaves in the content service to ensure its the same as what was done with

Document.RePublishAll
This commit is contained in:
Shannon Deminick
2013-03-20 00:19:36 +06:00
parent ee9f91b5cf
commit a76ffe8daf
8 changed files with 705 additions and 607 deletions
@@ -42,6 +42,14 @@ namespace Umbraco.Core.Persistence.SqlSyntax
return false;
}
/// <summary>
/// SqlCe doesn't support the Truncate Table syntax, so we just have to do a DELETE FROM which is slower but we have no choice.
/// </summary>
public override string TruncateTable
{
get { return "DELETE FROM {0}"; }
}
public override string GetIndexType(IndexTypes indexTypes)
{
string indexType;