去掉IDE1006警告,修改BaseEntity
This commit is contained in:
@@ -3,10 +3,15 @@
|
||||
/// <summary>
|
||||
/// 实体类基类.
|
||||
/// </summary>
|
||||
public interface IEntity<TKey>
|
||||
public interface IEntity<TKey> : IEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取或设置 实体唯一标识,主键.
|
||||
/// </summary>
|
||||
TKey Id { get; set; }
|
||||
}
|
||||
|
||||
public interface IEntity
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user