FreeSql.Extensions.BaseEntity Entity base class, including CreateTime/UpdateTime/IsDeleted, the CRUD methods, and ID primary key definition. 包括 CreateTime/UpdateTime/IsDeleted、CRUD 方法、以及 ID 主键定义 的实体基类 When TKey is int/long, the Id is set to be an auto-incremented primary key 当 TKey 为 int/long 时,Id 主键被设为自增值主键 Primary key
主键
Get data based on the value of the primary key
根据主键值获取数据
Get data based on the value of the primary key
根据主键值获取数据
Entity base class, including CreateTime/UpdateTime/IsDeleted, and sync/async CRUD methods. 包括 CreateTime/UpdateTime/IsDeleted、以及 CRUD 异步和同步方法的实体基类 To delete data
删除数据
To flag whether to delete the physical level of the data
To recover deleted data
恢复删除的数据
To update data
更新数据
To insert data
插入数据
To insert or update data
更新或插入
To completely save the navigation properties of the entity in the form of sub-tables.
【完整】保存导航属性,子表
Navigation property name
Entity base class, including CreateTime/UpdateTime/IsDeleted, the async CRUD methods, and ID primary key definition. 包括 CreateTime/UpdateTime/IsDeleted、CRUD 异步方法、以及 ID 主键定义 的实体基类 When TKey is int/long, the Id is set to be an auto-incremented primary key 当 TKey 为 int/long 时,Id 主键被设为自增值主键 Primary key
主键
Get data based on the value of the primary key
根据主键值获取数据
Entity base class, including CreateTime/UpdateTime/IsDeleted, and async CRUD methods. 包括 CreateTime/UpdateTime/IsDeleted、以及 CRUD 异步方法的实体基类 To delete data
删除数据
To flag whether to delete the physical level of the data
To recover deleted data
恢复删除的数据
To update data
更新数据
To insert data
插入数据
To insert or update data
更新或插入
To completely save the navigation properties of the entity in the form of sub-tables.
【完整】保存导航属性,子表
Navigation property name
Entity base class, including CreateTime/UpdateTime/IsDeleted. 包括 CreateTime/UpdateTime/IsDeleted 的实体基类 Created time
创建时间
Updated time
更新时间
Logical Delete
逻辑删除
Sort
排序
A readonly entity base class, including CreateTime/UpdateTime/IsDeleted. 包括 CreateTime/UpdateTime/IsDeleted 的只读实体基类 To query data
查询数据
Query conditions
查询条件,Where(a => a.Id> 10) Support navigation object query
支持导航对象查询,Where(a => a.Author.Email == "2881099@qq.com")
lambda表达式
Query conditions
查询条件,Where(true, a => a.Id > 10) Support navigation object query
支导航对象查询,Where(true, a => a.Author.Email == "2881099@qq.com")
true 时生效 lambda表达式
Repository object.
仓储对象
To Attach entities. When updating data, only the changed part is updated.
附加实体。在更新数据时,只更新变化的部分