internal static SystemAttachmentWrapper ConvertEntityToWrapper(SystemAttachmentEntity entity) { if (entity == null) { return(null); } if (entity.Id == 0) { return(null); } return(new SystemAttachmentWrapper(entity)); }
public List <SystemAttachmentContentEntity> GetPageList_By_AttacmentID_SystemAttachmentEntity(string orderByColumnName, bool isDesc, SystemAttachmentEntity fkentity, PageQueryParams pageQueryParams) { NHibernateDynamicQueryGenerator <SystemAttachmentContentEntity> dynamicQueryGenerator = this.GetNewQueryBuilder(); dynamicQueryGenerator.AddWhereClause(PROPERTY_ATTACMENTID.Eq(fkentity)); AddDefaultOrderByToQueryGenerator(orderByColumnName, isDesc, dynamicQueryGenerator); return(FindListByPageByQueryBuilder(dynamicQueryGenerator, pageQueryParams)); }
public List <SystemAttachmentContentEntity> GetList_By_AttacmentID_SystemAttachmentEntity(SystemAttachmentEntity fkentity) { NHibernateDynamicQueryGenerator <SystemAttachmentContentEntity> dynamicQueryGenerator = this.GetNewQueryBuilder(); dynamicQueryGenerator.AddWhereClause(PROPERTY_ATTACMENTID.Eq(fkentity)); return(this.FindListByQueryBuilder(dynamicQueryGenerator)); }
public List <SystemAttachmentContentEntity> FindAllByAttacmentID(SystemAttachmentEntity _attacmentID) { return(this.SelfDataObj.GetList_By_AttacmentID_SystemAttachmentEntity(_attacmentID)); }
public List <SystemAttachmentContentEntity> FindAllByOrderByAndFilterAndAttacmentID(string orderByColumnName, bool isDesc, SystemAttachmentEntity _attacmentID, PageQueryParams pageQueryParams) { return(this.SelfDataObj.GetPageList_By_AttacmentID_SystemAttachmentEntity(orderByColumnName, isDesc, _attacmentID, pageQueryParams)); }
internal SystemAttachmentWrapper(SystemAttachmentEntity entityObj) : base(entityObj) { }
internal static SystemAttachmentWrapper ConvertEntityToWrapper(SystemAttachmentEntity entity) { if (entity == null) return null; if (entity.Id == 0) return null; return new SystemAttachmentWrapper(entity); }
internal SystemAttachmentWrapper(SystemAttachmentEntity entityObj) : base(entityObj) { }