新增加storage方法
This commit is contained in:
parent
83e0ba7892
commit
464f74914f
@ -149,7 +149,14 @@ namespace ZR.Repository
|
|||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
public IStorageable<T> Storageable(T t)
|
||||||
|
{
|
||||||
|
return Context.Storageable<T>(t);
|
||||||
|
}
|
||||||
|
public IStorageable<T> Storageable(List<T> t)
|
||||||
|
{
|
||||||
|
return Context.Storageable(t);
|
||||||
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
///
|
///
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@ -37,7 +37,8 @@ namespace ZR.Repository
|
|||||||
int Update(Expression<Func<T, bool>> where, Expression<Func<T, T>> columns);
|
int Update(Expression<Func<T, bool>> where, Expression<Func<T, T>> columns);
|
||||||
|
|
||||||
#endregion update
|
#endregion update
|
||||||
|
IStorageable<T> Storageable(T t);
|
||||||
|
IStorageable<T> Storageable(List<T> t);
|
||||||
DbResult<bool> UseTran(Action action);
|
DbResult<bool> UseTran(Action action);
|
||||||
|
|
||||||
DbResult<bool> UseTran(SqlSugarClient client, Action action);
|
DbResult<bool> UseTran(SqlSugarClient client, Action action);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user