コード例 #1
0
        /// <summary>
        /// 获取实体中所有信息
        /// </summary>
        /// <returns></returns>
        public List <T> GetAllEntitys <T>() where T : class
        {
            List <T> itemList = new List <T>();

            itemList = BaseEntityFac.GetAllEntitys <T>();

            return(itemList);
        }
コード例 #2
0
 /// <summary>
 /// 获取最新数据
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 public List <UserRoleRelationship> RefreshBaseData()
 {
     return(BaseEntityFac.GetAllEntitys <UserRoleRelationship>());
 }
コード例 #3
0
 /// <summary>
 /// 返回所有实体信息
 /// </summary>
 /// <returns></returns>
 public List <UserRoleRelationship> GetAllEntitys()
 {
     return(BaseEntityFac.GetAllEntitys <UserRoleRelationship>());
 }
コード例 #4
0
 /// <summary>
 /// 获取实体最新数据
 /// </summary>
 /// <typeparam name="T"></typeparam>
 /// <returns></returns>
 public List <T> RefreshEntityData <T>() where T : class
 {
     return(BaseEntityFac.GetAllEntitys <T>());
 }