| | |
| | | { |
| | | private readonly HStation.Service.TransferFileUser _service = new(); |
| | | |
| | | #region Query |
| | | |
| | | /// <summary> |
| | | /// 获取所有 |
| | | /// </summary> |
| | |
| | | /// <summary> |
| | | /// 通过 Name 获取 |
| | | /// </summary> |
| | | public async Task<TransferFileUserDto> GetByName(string input) |
| | | public async Task<TransferFileUserDto> GetByName(string Name) |
| | | { |
| | | return await Task.Factory.StartNew(() => |
| | | { |
| | | var model = _service.GetByName(input); |
| | | var model = _service.GetByName(Name); |
| | | return model == null ? null : new TransferFileUserDto(model); |
| | | }); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region Insert |
| | | |
| | |
| | | }); |
| | | } |
| | | |
| | | #endregion Insert |
| | | public Task<bool> Inserts(List<AddTransferFileUserInput> list) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public Task<bool> BulkInserts(List<AddTransferFileUserInput> list) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region Update |
| | | |
| | |
| | | var bol = _service.Update(rhs); |
| | | return bol; |
| | | }); |
| | | } |
| | | |
| | | public Task<bool> Updates(List<UpdateTransferFileUserInput> list) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public Task<bool> BulkUpdates(List<UpdateTransferFileUserInput> list) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | }); |
| | | } |
| | | |
| | | #endregion Update |
| | | #endregion |
| | | |
| | | #region Exist |
| | | |
| | |
| | | }); |
| | | } |
| | | |
| | | #endregion Exist |
| | | #endregion |
| | | |
| | | #region Delete |
| | | |
| | |
| | | }); |
| | | } |
| | | |
| | | public Task<bool> Updates(List<UpdateTransferFileUserInput> list) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public Task<bool> BulkUpdates(List<UpdateTransferFileUserInput> list) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public Task<bool> DeleteByIds(List<long> Ids) |
| | | { |
| | | throw new NotImplementedException(); |
| | |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public Task<bool> Inserts(List<AddTransferFileUserInput> list) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | public Task<bool> BulkInserts(List<AddTransferFileUserInput> list) |
| | | { |
| | | throw new NotImplementedException(); |
| | | } |
| | | |
| | | #endregion Delete |
| | | #endregion |
| | | } |
| | | } |