mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-29 21:26:36 +08:00
完成逻辑删除功能
This commit is contained in:
@@ -6,10 +6,11 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using Yi.Framework.Core.Enums;
|
||||
using Yi.Framework.Ddd.Dtos;
|
||||
using Yi.Framework.Ddd.Entities;
|
||||
|
||||
namespace Yi.Framework.Ddd.Repositories
|
||||
{
|
||||
public interface IRepository<T>
|
||||
public interface IRepository<T> where T : class, IEntity, new()
|
||||
{
|
||||
//单查
|
||||
Task<T> GetByIdAsync(dynamic id);
|
||||
|
||||
Reference in New Issue
Block a user