public List <SPAdPackEntity> GetList_By_SPAdID_SPAdvertisementEntity(SPAdvertisementEntity fkentity) { NHibernateDynamicQueryGenerator <SPAdPackEntity> dynamicQueryGenerator = this.GetNewQueryBuilder(); dynamicQueryGenerator.AddWhereClause(PROPERTY_SPADID.Eq(fkentity)); return(this.FindListByQueryBuilder(dynamicQueryGenerator)); }
internal static SPAdvertisementWrapper ConvertEntityToWrapper(SPAdvertisementEntity entity) { if (entity == null) { return(null); } if (entity.Id == 0) { return(null); } return(new SPAdvertisementWrapper(entity)); }
internal SPAdvertisementWrapper(SPAdvertisementEntity entityObj) : base(entityObj) { }
public List <SPAdPackEntity> GetPageList_By_SPAdID_SPAdvertisementEntity(string orderByColumnName, bool isDesc, SPAdvertisementEntity fkentity, PageQueryParams pageQueryParams) { NHibernateDynamicQueryGenerator <SPAdPackEntity> dynamicQueryGenerator = this.GetNewQueryBuilder(); dynamicQueryGenerator.AddWhereClause(PROPERTY_SPADID.Eq(fkentity)); AddDefaultOrderByToQueryGenerator(orderByColumnName, isDesc, dynamicQueryGenerator); return(FindListByPageByQueryBuilder(dynamicQueryGenerator, pageQueryParams)); }
public List <SPAdPackEntity> FindAllBySPAdID(SPAdvertisementEntity _sPAdID) { return(this.SelfDataObj.GetList_By_SPAdID_SPAdvertisementEntity(_sPAdID)); }
public List <SPAdPackEntity> FindAllByOrderByAndFilterAndSPAdID(string orderByColumnName, bool isDesc, SPAdvertisementEntity _sPAdID, PageQueryParams pageQueryParams) { return(this.SelfDataObj.GetPageList_By_SPAdID_SPAdvertisementEntity(orderByColumnName, isDesc, _sPAdID, pageQueryParams)); }