|
@ -57,6 +57,10 @@ namespace SqlSugar |
|
|
{ |
|
|
{ |
|
|
keyValuePairs.Add(pair.DbColumnName, DateTime.Now); |
|
|
keyValuePairs.Add(pair.DbColumnName, DateTime.Now); |
|
|
} |
|
|
} |
|
|
|
|
|
else if (pair.UnderType == UtilConstants.StringType) |
|
|
|
|
|
{ |
|
|
|
|
|
keyValuePairs.Add(pair.DbColumnName, UtilConstants.Space); |
|
|
|
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
keyValuePairs.Add(pair.DbColumnName, UtilMethods.GetDefaultValue(pair.UnderType)); |
|
|
keyValuePairs.Add(pair.DbColumnName, UtilMethods.GetDefaultValue(pair.UnderType)); |
|
|