2023-01-01 23:06:11 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Yi.Framework.Interface.Base.Crud
|
|
|
|
|
|
{
|
|
|
|
|
|
public interface ICrudAppService<TEntityDto, in TKey>
|
|
|
|
|
|
: ICrudAppService<TEntityDto, TKey, TEntityDto>
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-01-05 19:21:48 +08:00
|
|
|
|
public interface ICrudAppService<TEntityDto, in TKey, in TCreateInputDto>
|
|
|
|
|
|
: ICrudAppService<TEntityDto, TKey, TCreateInputDto, TCreateInputDto>
|
2023-01-01 23:06:11 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-01-05 19:21:48 +08:00
|
|
|
|
public interface ICrudAppService<TEntityDto, in TKey, in TCreateInputDto, in TUpdateInputDto>
|
|
|
|
|
|
: ICrudAppService<TEntityDto, TEntityDto, TKey, TCreateInputDto, TUpdateInputDto>
|
2023-01-01 23:06:11 +08:00
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2023-01-05 19:21:48 +08:00
|
|
|
|
public interface ICrudAppService<TGetOutputDto, TListOutputDto, in TKey, in TCreateInputDto, in TUpdateInputDto>
|
|
|
|
|
|
: IReadOnlyAppService<TGetOutputDto, TListOutputDto, TKey>,
|
|
|
|
|
|
ICreateUpdateAppService<TGetOutputDto, TKey, TCreateInputDto, TUpdateInputDto>,
|
2023-01-01 23:06:11 +08:00
|
|
|
|
IDeleteAppService<TKey>
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|