基类模型修改为接口
This commit is contained in:
@@ -4,7 +4,7 @@ using Yi.Framework.Model.Models;
|
||||
|
||||
namespace Yi.Framework.Repository
|
||||
{
|
||||
public class DataContext<T> : SimpleClient<T> where T : class, BaseModelEntity, new()
|
||||
public class DataContext<T> : SimpleClient<T> where T : class, IBaseModelEntity, new()
|
||||
{
|
||||
public DataContext(ISqlSugarClient context) : base(context)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user