- 优化 XML 注释读取支持 interface;

This commit is contained in:
2881099
2022-06-11 20:15:51 +08:00
parent 8b43143eac
commit ab06417bee
3 changed files with 35 additions and 14 deletions

View File

@ -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>();