完善通用接口输入参数
This commit is contained in:
@@ -23,30 +23,30 @@ public interface IDataAccess : ITransient
|
||||
/// <returns></returns>
|
||||
VmodelLink GetVmodelLink(string dbCode);
|
||||
|
||||
/// <summary>
|
||||
/// 获取 Vmodel, 为空时不抛异常
|
||||
/// </summary>
|
||||
Task<Vmodel?> TryGetVmodelAsync(string id, bool loadNavigate = false);
|
||||
|
||||
/// <summary>
|
||||
/// 获取 Vmodel 的缓存键
|
||||
/// </summary>
|
||||
string GetVmodelCacheKey(string id);
|
||||
|
||||
/// <summary>
|
||||
/// 获取 Vmodel, 为空时不抛异常
|
||||
/// </summary>
|
||||
Task<Vmodel?> TryGetVmodelAsync(string id);
|
||||
|
||||
/// <summary>
|
||||
/// 获取 Vmodel, 为空时抛异常
|
||||
/// </summary>
|
||||
Task<Vmodel> GetVmodelAsync(string id, bool loadNavigate = false);
|
||||
Task<Vmodel> GetVmodelAsync(string id);
|
||||
|
||||
/// <summary>
|
||||
/// 获取 Vmodel, 为空时不抛异常
|
||||
/// </summary>
|
||||
Task<Vmodel?> TryGetVmodelAsync(string area, string vmCode, bool loadNavigate = false);
|
||||
Task<Vmodel?> TryGetVmodelAsync(string area, string vmCode);
|
||||
|
||||
/// <summary>
|
||||
/// 获取 Vmodel, 为空时抛异常
|
||||
/// </summary>
|
||||
Task<Vmodel> GetVmodelAsync(string area, string vmCode, bool loadNavigate = false);
|
||||
Task<Vmodel> GetVmodelAsync(string area, string vmCode);
|
||||
|
||||
//Task<VmPagedOutput> QueryDataAsync(VmBaseInput input);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user