namespace Yw.BLL
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public class BimfaceFileRelationLabel : Yw.CAL.IBimfaceFileRelationLabel
|
{
|
private readonly Yw.CAL.IBimfaceFileRelationLabel _cal = CALCreateHelper.CreateCAL<Yw.CAL.IBimfaceFileRelationLabel>();
|
|
#region Query
|
public async Task<List<BimfaceFileRelationLabelDto>> GetAll()
|
{
|
return await _cal.GetAll();
|
}
|
|
public async Task<BimfaceFileRelationLabelDto> GetByID(long ID)
|
{
|
return await _cal.GetByID(ID);
|
}
|
|
public async Task<List<BimfaceFileRelationLabelDto>> GetByIds(List<long> Ids)
|
{
|
return await _cal.GetByIds(Ids);
|
}
|
|
public Task<List<BimfaceFileRelationLabelDto>> GetByRelationID(long RelationID)
|
{
|
return _cal.GetByRelationID(RelationID);
|
}
|
|
#endregion
|
|
#region Insert
|
|
public async Task<long> Insert(AddBimfaceFileRelationLabelInput model)
|
{
|
return await _cal.Insert(model);
|
}
|
|
public async Task<bool> Inserts(List<AddBimfaceFileRelationLabelInput> list)
|
{
|
return await _cal.Inserts(list);
|
}
|
|
public async Task<bool> BulkInserts(List<AddBimfaceFileRelationLabelInput> list)
|
{
|
return await _cal.BulkInserts(list);
|
}
|
|
#endregion
|
|
#region Update
|
|
public async Task<bool> Update(UpdateBimfaceFileRelationLabelInput model)
|
{
|
return await _cal.Update(model);
|
}
|
|
public async Task<bool> Updates(List<UpdateBimfaceFileRelationLabelInput> list)
|
{
|
return await _cal.Updates(list);
|
}
|
|
public async Task<bool> BulkUpdates(List<UpdateBimfaceFileRelationLabelInput> list)
|
{
|
return await _cal.BulkUpdates(list);
|
}
|
|
public Task<bool> UpdateContent(long ID, string Content)
|
{
|
return _cal.UpdateContent(ID, Content);
|
}
|
|
public Task<bool> Save(SaveBimfaceFileRelationLabelInput input)
|
{
|
return _cal.Save(input);
|
}
|
|
#endregion
|
|
|
#region Delete
|
|
public async Task<bool> DeleteByID(long ID)
|
{
|
return await _cal.DeleteByID(ID);
|
}
|
public async Task<bool> DeleteByIds(List<long> Ids)
|
{
|
return await _cal.DeleteByIds(Ids);
|
}
|
|
public async Task<bool> DeleteAll()
|
{
|
return await _cal.DeleteAll();
|
}
|
|
|
|
|
|
|
#endregion
|
}
|
}
|