| | |
| | | namespace Yw.CAL.LocalClient |
| | | using Npgsql.Logging; |
| | | |
| | | namespace Yw.CAL.LocalClient |
| | | { |
| | | /// <summary> |
| | | /// |
| | |
| | | }); |
| | | } |
| | | |
| | | |
| | | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public async Task<BimfaceFileRelationStdDto> GetDefaultByObjectTypeAndObjectIDOfPurpose(string ObjectType, long ObjectID, string Purpose) |
| | | { |
| | | return await Task.Factory.StartNew(() => |
| | | { |
| | | var model = new Yw.Service.BimfaceFileRelation().GetDefaultByObjectTypeAndObjectIDOfPurpose(ObjectType, ObjectID, Purpose); |
| | | return model == null ? null : new BimfaceFileRelationStdDto(model); |
| | | }); |
| | | } |
| | | } |
| | | } |