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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user