Fixes upgrade issues with SQLCE and DateTime:

* DateTime's during migrations are formatted in a very explicit way
* Migration's that need to execute multiple statements are fixed in SQLCE by splitting on GO
This commit is contained in:
Shannon
2015-09-11 13:55:13 +02:00
parent 4bb89c1827
commit 488ba05eda
6 changed files with 79 additions and 19 deletions

View File

@@ -203,7 +203,7 @@ ORDER BY TABLE_NAME, INDEX_NAME",
/// </remarks>
public override string FormatDateTime(DateTime date, bool includeTime = true)
{
return includeTime ? date.ToString("YYYYMMDDHHmmss") : date.ToString("YYYYMMDD");
return includeTime ? date.ToString("yyyyMMddHHmmss") : date.ToString("yyyyMMdd");
}
public override string GetQuotedTableName(string tableName)