namespace Yw.CAL
|
{
|
/// <summary>
|
/// 标签
|
/// </summary>
|
public interface IBimfaceFileRelation : IBaseCAL<AddBimfaceFileRelationInput, UpdateBimfaceFileRelationInput, BimfaceFileRelationDto>, IUpdateSorter
|
{
|
|
/// <summary>
|
/// 通过 ObjectType 和 ObjectID 获取
|
/// </summary>
|
Task<List<BimfaceFileRelationDto>> GetByObjectTypeAndObjectID(string ObjectType, long ObjectID);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<List<BimfaceFileRelationDto>> GetByObjectTypeAndObjectIDOfPurpose(string ObjectType, long ObjectID, string Purpose);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<BimfaceFileRelationDto> GetDefaultByObjectTypeAndObjectIDOfPurpose(string ObjectType, long ObjectID, string Purpose);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<long> InsertObject(AddBimfaceFileRelationInput input);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<long> InsertPage(AddBimfaceFileRelationInput input);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<bool> UpdatePurpose(long ID, string Purpose);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<bool> UpdateContent(long ID, string Content);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<bool> IsExistByBimfaceFileID(long BimfaceFileID);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<bool> DeleteExByID(long ID);
|
|
/// <summary>
|
///
|
/// </summary>
|
Task<bool> DeleteAllByID(long ID);
|
|
}
|
}
|