mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
DateTimeOffset BUG
This commit is contained in:
parent
6098c69040
commit
83a44b31bb
@ -91,6 +91,10 @@ namespace SqlSugar
|
||||
{
|
||||
this.DbType = System.Data.DbType.String;
|
||||
}
|
||||
else if (type == UtilConstants.DateTimeOffsetType)
|
||||
{
|
||||
this.DbType = System.Data.DbType.DateTimeOffset;
|
||||
}
|
||||
|
||||
}
|
||||
public SugarParameter(string name, object value, bool isOutput)
|
||||
|
@ -27,6 +27,7 @@ namespace SqlSugar
|
||||
internal static Type DecType = typeof(decimal);
|
||||
internal static Type StringType = typeof(string);
|
||||
internal static Type DateType = typeof(DateTime);
|
||||
internal static Type DateTimeOffsetType = typeof(DateTimeOffset);
|
||||
internal static Type ByteArrayType = typeof(byte[]);
|
||||
internal static Type ModelType= typeof(ModelContext);
|
||||
internal static Type DynamicType = typeof(ExpandoObject);
|
||||
|
Loading…
Reference in New Issue
Block a user