public List <SystemViewItemEntity> GetList_By_SystemViewID_SystemViewEntity(SystemViewEntity fkentity)
        {
            NHibernateDynamicQueryGenerator <SystemViewItemEntity> dynamicQueryGenerator = this.GetNewQueryBuilder();

            dynamicQueryGenerator.AddWhereClause(PROPERTY_SYSTEMVIEWID.Eq(fkentity));

            return(this.FindListByQueryBuilder(dynamicQueryGenerator));
        }
Beispiel #2
0
		/// <summary>
		/// 全构造函数
		/// </summary>
		public SystemViewItemEntity( int systemViewItemID, string systemViewItemNameEn, string systemViewItemNameCn, string systemViewItemDescription, SystemViewEntity systemViewID, SystemMoudleFieldEntity systemMoudleFieldID)
		{
			_systemViewItemID = systemViewItemID;
			_systemViewItemNameEn = systemViewItemNameEn;
			_systemViewItemNameCn = systemViewItemNameCn;
			_systemViewItemDescription = systemViewItemDescription;
			_systemViewID = systemViewID;
			_systemMoudleFieldID = systemMoudleFieldID;
		}
Beispiel #3
0
		/// <summary>
		/// 默认构造函数
		/// </summary>
		public SystemViewItemEntity()
		{
			_systemViewItemID = 0;
			_systemViewItemNameEn = null;
			_systemViewItemNameCn = null;
			_systemViewItemDescription = null;
			_systemViewID = null;
			_systemMoudleFieldID = null;
		}
Beispiel #4
0
        internal static SystemViewWrapper ConvertEntityToWrapper(SystemViewEntity entity)
        {
            if (entity == null)
            {
                return(null);
            }

            if (entity.SystemViewID == 0)
            {
                return(null);
            }

            return(new SystemViewWrapper(entity));
        }
Beispiel #5
0
 public List <SystemViewItemEntity> FindAllBySystemViewID(SystemViewEntity _systemViewID)
 {
     return(this.SelfDataObj.GetList_By_SystemViewID_SystemViewEntity(_systemViewID));
 }
Beispiel #6
0
 public List <SystemViewItemEntity> FindAllByOrderByAndFilterAndSystemViewID(string orderByColumnName, bool isDesc, SystemViewEntity _systemViewID, PageQueryParams pageQueryParams)
 {
     return(this.SelfDataObj.GetPageList_By_SystemViewID_SystemViewEntity(orderByColumnName, isDesc, _systemViewID, pageQueryParams));
 }
Beispiel #7
0
 internal SystemViewWrapper(SystemViewEntity entityObj)
 {
     entity = entityObj;
 }
Beispiel #8
0
		public List<SystemViewItemEntity> FindAllBySystemViewID(SystemViewEntity _systemViewID)
        {
			return this.SelfDataObj.GetList_By_SystemViewID_SystemViewEntity(_systemViewID);
        }
Beispiel #9
0
		public List<SystemViewItemEntity> FindAllByOrderByAndFilterAndSystemViewID(string orderByColumnName, bool isDesc,  SystemViewEntity _systemViewID, PageQueryParams pageQueryParams)
        {
			return this.SelfDataObj.GetPageList_By_SystemViewID_SystemViewEntity(orderByColumnName, isDesc,_systemViewID, pageQueryParams);
        }
 internal SystemViewWrapper(SystemViewEntity entityObj)
     : base(entityObj)
 {
 }
        public List <SystemViewItemEntity> GetPageList_By_SystemViewID_SystemViewEntity(string orderByColumnName, bool isDesc, SystemViewEntity fkentity, PageQueryParams pageQueryParams)
        {
            NHibernateDynamicQueryGenerator <SystemViewItemEntity> dynamicQueryGenerator = this.GetNewQueryBuilder();

            dynamicQueryGenerator.AddWhereClause(PROPERTY_SYSTEMVIEWID.Eq(fkentity));

            AddDefaultOrderByToQueryGenerator(orderByColumnName, isDesc, dynamicQueryGenerator);

            return(FindListByPageByQueryBuilder(dynamicQueryGenerator, pageQueryParams));
        }