mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-02 03:13:58 +08:00
Delete unused code
This commit is contained in:
@@ -16,11 +16,6 @@ namespace SqlSugar
|
||||
protected IDbMaintenance _DbMaintenance;
|
||||
protected IDbConnection _DbConnection;
|
||||
|
||||
public virtual void SetSqlDbType(PropertyInfo propertyInfo, SugarParameter parameter)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
protected virtual SugarParameter[] GetParameters(object parameters, PropertyInfo[] propertyInfo,string sqlParameterKeyWord)
|
||||
{
|
||||
List<SugarParameter> result = new List<SugarParameter>();
|
||||
@@ -39,7 +34,6 @@ namespace SqlSugar
|
||||
}
|
||||
return result.ToArray();
|
||||
}
|
||||
|
||||
protected void ProperyToParameter(object parameters, PropertyInfo[] propertyInfo, string sqlParameterKeyWord, List<SugarParameter> listParams, Type entityType)
|
||||
{
|
||||
PropertyInfo[] properties = null;
|
||||
@@ -69,10 +63,6 @@ namespace SqlSugar
|
||||
else
|
||||
{
|
||||
var parameter = new SugarParameter(sqlParameterKeyWord + properyty.Name, value);
|
||||
if (value == DBNull.Value)
|
||||
{
|
||||
SetSqlDbType(properyty, parameter);
|
||||
}
|
||||
listParams.Add(parameter);
|
||||
}
|
||||
}
|
||||
@@ -93,4 +83,4 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user