mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 优化 XML 注释读取支持 interface;
This commit is contained in:
@ -265,6 +265,18 @@ namespace base_entity
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
||||
interface IDeleteSoft
|
||||
{
|
||||
/// <summary>
|
||||
/// 软删除
|
||||
/// </summary>
|
||||
bool IsDeleted { get; set; }
|
||||
}
|
||||
class TestComment01 : IDeleteSoft
|
||||
{
|
||||
public bool IsDeleted { get; set; }
|
||||
}
|
||||
|
||||
static void Main(string[] args)
|
||||
{
|
||||
#region 初始化 IFreeSql
|
||||
@ -313,6 +325,7 @@ namespace base_entity
|
||||
BaseEntity.Initialization(fsql, () => _asyncUow.Value);
|
||||
#endregion
|
||||
|
||||
fsql.CodeFirst.GetTableByEntity(typeof(TestComment01));
|
||||
|
||||
fsql.Select<TUserImg>();
|
||||
|
||||
|
Reference in New Issue
Block a user