mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 移除 Repository.DataFilter 功能通知;#1208
This commit is contained in:
@ -162,18 +162,5 @@ namespace FreeSql
|
||||
Repository.UnitOfWork = _resolveUow?.Invoke();
|
||||
return Repository.InsertOrUpdate(this as TEntity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To completely save the navigation properties of the entity in the form of sub-tables. <br />
|
||||
/// 【完整】保存导航属性,子表
|
||||
/// </summary>
|
||||
/// <param name="navigatePropertyName">Navigation property name</param>
|
||||
public virtual void SaveMany(string navigatePropertyName)
|
||||
{
|
||||
if (Repository == null)
|
||||
Repository = Orm.GetRepository<TEntity>();
|
||||
Repository.UnitOfWork = _resolveUow?.Invoke();
|
||||
Repository.SaveMany(this as TEntity, navigatePropertyName);
|
||||
}
|
||||
}
|
||||
}
|
@ -149,19 +149,6 @@ namespace FreeSql
|
||||
Repository.UnitOfWork = _resolveUow?.Invoke();
|
||||
return Repository.InsertOrUpdateAsync(this as TEntity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To completely save the navigation properties of the entity in the form of sub-tables. <br />
|
||||
/// 【完整】保存导航属性,子表
|
||||
/// </summary>
|
||||
/// <param name="navigatePropertyName">Navigation property name</param>
|
||||
public virtual Task SaveManyAsync(string navigatePropertyName)
|
||||
{
|
||||
if (Repository == null)
|
||||
Repository = Orm.GetRepository<TEntity>();
|
||||
Repository.UnitOfWork = _resolveUow?.Invoke();
|
||||
return Repository.SaveManyAsync(this as TEntity, navigatePropertyName);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
@ -82,13 +82,6 @@
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:FreeSql.BaseEntity`1.SaveMany(System.String)">
|
||||
<summary>
|
||||
To completely save the navigation properties of the entity in the form of sub-tables. <br />
|
||||
【完整】保存导航属性,子表
|
||||
</summary>
|
||||
<param name="navigatePropertyName">Navigation property name</param>
|
||||
</member>
|
||||
<member name="T:FreeSql.BaseEntityAsync`2">
|
||||
<summary>
|
||||
Entity base class, including CreateTime/UpdateTime/IsDeleted, the async CRUD methods, and ID primary key definition.
|
||||
@ -159,13 +152,6 @@
|
||||
</summary>
|
||||
<returns></returns>
|
||||
</member>
|
||||
<member name="M:FreeSql.BaseEntityAsync`1.SaveManyAsync(System.String)">
|
||||
<summary>
|
||||
To completely save the navigation properties of the entity in the form of sub-tables. <br />
|
||||
【完整】保存导航属性,子表
|
||||
</summary>
|
||||
<param name="navigatePropertyName">Navigation property name</param>
|
||||
</member>
|
||||
<member name="T:FreeSql.BaseEntity">
|
||||
<summary>
|
||||
Entity base class, including CreateTime/UpdateTime/IsDeleted.
|
||||
|
Reference in New Issue
Block a user