mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-12 12:39:29 +08:00
基类模型修改为接口
This commit is contained in:
@@ -8,7 +8,7 @@ using Yi.Framework.Repository;
|
||||
|
||||
namespace Yi.Framework.Interface
|
||||
{
|
||||
public interface IBaseService<T> where T:BaseModelEntity,new()
|
||||
public interface IBaseService<T> where T: class, IBaseModelEntity,new()
|
||||
{
|
||||
public IRepository<T> _repository { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user