public List <SPAdvertisementEntity> GetList_By_UpperID_SPUpperEntity(SPUpperEntity fkentity) { NHibernateDynamicQueryGenerator <SPAdvertisementEntity> dynamicQueryGenerator = this.GetNewQueryBuilder(); dynamicQueryGenerator.AddWhereClause(PROPERTY_UPPERID.Eq(fkentity)); return(this.FindListByQueryBuilder(dynamicQueryGenerator)); }
internal static SPUpperWrapper ConvertEntityToWrapper(SPUpperEntity entity) { if (entity == null) { return(null); } if (entity.Id == 0) { return(null); } return(new SPUpperWrapper(entity)); }
public List <SPAdvertisementEntity> GetPageList_By_UpperID_SPUpperEntity(string orderByColumnName, bool isDesc, SPUpperEntity fkentity, PageQueryParams pageQueryParams) { NHibernateDynamicQueryGenerator <SPAdvertisementEntity> dynamicQueryGenerator = this.GetNewQueryBuilder(); dynamicQueryGenerator.AddWhereClause(PROPERTY_UPPERID.Eq(fkentity)); AddDefaultOrderByToQueryGenerator(orderByColumnName, isDesc, dynamicQueryGenerator); return(FindListByPageByQueryBuilder(dynamicQueryGenerator, pageQueryParams)); }
public List <SPAdvertisementEntity> FindAllByUpperID(SPUpperEntity _upperID) { return(this.SelfDataObj.GetList_By_UpperID_SPUpperEntity(_upperID)); }
public List <SPAdvertisementEntity> FindAllByOrderByAndFilterAndUpperID(string orderByColumnName, bool isDesc, SPUpperEntity _upperID, PageQueryParams pageQueryParams) { return(this.SelfDataObj.GetPageList_By_UpperID_SPUpperEntity(orderByColumnName, isDesc, _upperID, pageQueryParams)); }
internal SPUpperWrapper(SPUpperEntity entityObj) : base(entityObj) { }
public List <SPDayReportEntity> FindAllByUperID(SPUpperEntity _uperID) { return(this.SelfDataObj.GetList_By_UperID_SPUpperEntity(_uperID)); }
public List <SPChannelEntity> FindAllByUpperID(SPUpperEntity _upperID) { return(this.SelfDataObj.GetList_By_UpperID_SPUpperEntity(_upperID)); }