mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-26 10:19:40 +08:00
Add UpdateExpressionMethodInfo
This commit is contained in:
@@ -659,6 +659,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return ScopedContext.UnionAll(queryables);
|
return ScopedContext.UnionAll(queryables);
|
||||||
}
|
}
|
||||||
|
public UpdateExpressionMethodInfo UpdateableByObject(Type entityType)
|
||||||
|
{
|
||||||
|
return ScopedContext.UpdateableByObject(entityType);
|
||||||
|
}
|
||||||
public UpdateMethodInfo UpdateableByObject(object singleEntityObjectOrListObject)
|
public UpdateMethodInfo UpdateableByObject(object singleEntityObjectOrListObject)
|
||||||
{
|
{
|
||||||
return ScopedContext.UpdateableByObject(singleEntityObjectOrListObject);
|
return ScopedContext.UpdateableByObject(singleEntityObjectOrListObject);
|
||||||
|
|||||||
@@ -198,6 +198,7 @@ namespace SqlSugar
|
|||||||
|
|
||||||
#region Updateable
|
#region Updateable
|
||||||
UpdateMethodInfo UpdateableByObject(object singleEntityObjectOrListObject);
|
UpdateMethodInfo UpdateableByObject(object singleEntityObjectOrListObject);
|
||||||
|
UpdateExpressionMethodInfo UpdateableByObject(Type entityType);
|
||||||
IUpdateable<T> Updateable<T>() where T : class, new();
|
IUpdateable<T> Updateable<T>() where T : class, new();
|
||||||
IUpdateable<T> Updateable<T>(Dictionary<string, object> columnDictionary) where T : class, new();
|
IUpdateable<T> Updateable<T>(Dictionary<string, object> columnDictionary) where T : class, new();
|
||||||
IUpdateable<T> Updateable<T>(dynamic updateDynamicObject) where T : class, new();
|
IUpdateable<T> Updateable<T>(dynamic updateDynamicObject) where T : class, new();
|
||||||
|
|||||||
@@ -657,6 +657,10 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
return ScopedContext.UpdateableByObject(singleEntityObjectOrListObject);
|
return ScopedContext.UpdateableByObject(singleEntityObjectOrListObject);
|
||||||
}
|
}
|
||||||
|
public UpdateExpressionMethodInfo UpdateableByObject(Type entityType)
|
||||||
|
{
|
||||||
|
return ScopedContext.UpdateableByObject(entityType);
|
||||||
|
}
|
||||||
public IUpdateable<Dictionary<string, object>> UpdateableByDynamic(object updateDynamicObject)
|
public IUpdateable<Dictionary<string, object>> UpdateableByDynamic(object updateDynamicObject)
|
||||||
{
|
{
|
||||||
return ScopedContext.UpdateableByDynamic(updateDynamicObject);
|
return ScopedContext.UpdateableByDynamic(updateDynamicObject);
|
||||||
|
|||||||
Reference in New Issue
Block a user