mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
-
This commit is contained in:
@@ -25,6 +25,21 @@ namespace SqlSugar
|
|||||||
this.ParameterName = name;
|
this.ParameterName = name;
|
||||||
SettingDataType(type);
|
SettingDataType(type);
|
||||||
}
|
}
|
||||||
|
public SugarParameter(string name, object value, Type type,ParameterDirection direction)
|
||||||
|
{
|
||||||
|
this.Value = value;
|
||||||
|
this.ParameterName = name;
|
||||||
|
this.Direction = direction;
|
||||||
|
SettingDataType(type);
|
||||||
|
}
|
||||||
|
public SugarParameter(string name, object value, Type type, ParameterDirection direction,int size)
|
||||||
|
{
|
||||||
|
this.Value = value;
|
||||||
|
this.ParameterName = name;
|
||||||
|
this.Direction = direction;
|
||||||
|
this.Size = size;
|
||||||
|
SettingDataType(type);
|
||||||
|
}
|
||||||
|
|
||||||
private void SettingDataType(Type type)
|
private void SettingDataType(Type type)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user