public List <SystemResourcesEntity> GetList_By_MoudleID_SystemMoudleEntity(SystemMoudleEntity fkentity) { NHibernateDynamicQueryGenerator <SystemResourcesEntity> dynamicQueryGenerator = this.GetNewQueryBuilder(); dynamicQueryGenerator.AddWhereClause(PROPERTY_MOUDLEID.Eq(fkentity)); return(this.FindListByQueryBuilder(dynamicQueryGenerator)); }
/// <summary> /// 全构造函数 /// </summary> public SystemResourcesEntity( int resourcesID, string resourcesNameCn, string resourcesNameEn, string resourcesDescription, string resourcesType, string resourcesCategory, string resourcesLimitExpression, bool resourcesIsRelateUser, SystemMoudleEntity moudleID) { _resourcesID = resourcesID; _resourcesNameCn = resourcesNameCn; _resourcesNameEn = resourcesNameEn; _resourcesDescription = resourcesDescription; _resourcesType = resourcesType; _resourcesCategory = resourcesCategory; _resourcesLimitExpression = resourcesLimitExpression; _resourcesIsRelateUser = resourcesIsRelateUser; _moudleID = moudleID; }
/// <summary> /// 默认构造函数 /// </summary> public SystemResourcesEntity() { _resourcesID = 0; _resourcesNameCn = String.Empty; _resourcesNameEn = String.Empty; _resourcesDescription = null; _resourcesType = null; _resourcesCategory = null; _resourcesLimitExpression = null; _resourcesIsRelateUser = false; _moudleID = null; }
internal static SystemMoudleWrapper ConvertEntityToWrapper(SystemMoudleEntity entity) { if (entity == null) { return(null); } if (entity.MoudleID == 0) { return(null); } return(new SystemMoudleWrapper(entity)); }
public List <SystemResourcesEntity> GetPageList_By_MoudleID_SystemMoudleEntity(string orderByColumnName, bool isDesc, SystemMoudleEntity fkentity, PageQueryParams pageQueryParams) { NHibernateDynamicQueryGenerator <SystemResourcesEntity> dynamicQueryGenerator = this.GetNewQueryBuilder(); dynamicQueryGenerator.AddWhereClause(PROPERTY_MOUDLEID.Eq(fkentity)); AddDefaultOrderByToQueryGenerator(orderByColumnName, isDesc, dynamicQueryGenerator); return(FindListByPageByQueryBuilder(dynamicQueryGenerator, pageQueryParams)); }
public List <SystemResourcesEntity> FindAllByMoudleID(SystemMoudleEntity _moudleID) { return(this.SelfDataObj.GetList_By_MoudleID_SystemMoudleEntity(_moudleID)); }
public List <SystemResourcesEntity> FindAllByOrderByAndFilterAndMoudleID(string orderByColumnName, bool isDesc, SystemMoudleEntity _moudleID, PageQueryParams pageQueryParams) { return(this.SelfDataObj.GetPageList_By_MoudleID_SystemMoudleEntity(orderByColumnName, isDesc, _moudleID, pageQueryParams)); }
public List <SystemMoudleFieldEntity> FindAllBySystemMoudleID(SystemMoudleEntity _systemMoudleID) { return(this.SelfDataObj.GetList_By_SystemMoudleID_SystemMoudleEntity(_systemMoudleID)); }
internal SystemMoudleWrapper(SystemMoudleEntity entityObj) : base(entityObj) { }
internal SystemMoudleWrapper(SystemMoudleEntity entityObj) { entity = entityObj; }
public List<SystemResourcesEntity> FindAllByMoudleID(SystemMoudleEntity _moudleID) { return this.SelfDataObj.GetList_By_MoudleID_SystemMoudleEntity(_moudleID); }
public List<SystemResourcesEntity> FindAllByOrderByAndFilterAndMoudleID(string orderByColumnName, bool isDesc, SystemMoudleEntity _moudleID, PageQueryParams pageQueryParams) { return this.SelfDataObj.GetPageList_By_MoudleID_SystemMoudleEntity(orderByColumnName, isDesc,_moudleID, pageQueryParams); }