Update Code First

This commit is contained in:
sunkaixuan
2017-07-11 22:49:17 +08:00
parent 1abc4d907d
commit ef24b65db0

View File

@@ -227,6 +227,7 @@ namespace SqlSugar
result = "DateTime.Now"; result = "DateTime.Now";
} }
result = result.Replace("\r", "\t").Replace("\n", "\t"); result = result.Replace("\r", "\t").Replace("\n", "\t");
result = result.IsIn("''","\"\"") ? string.Empty : result;
return result; return result;
} }
private string GetPropertyText(DbColumnInfo item, string PropertyText) private string GetPropertyText(DbColumnInfo item, string PropertyText)