/// <summary> /// 获取实体中所有信息 /// </summary> /// <returns></returns> public List <T> GetAllEntitys <T>() where T : class { List <T> itemList = new List <T>(); itemList = BaseEntityFac.GetAllEntitys <T>(); return(itemList); }
/// <summary> /// 获取最新数据 /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public List <UserRoleRelationship> RefreshBaseData() { return(BaseEntityFac.GetAllEntitys <UserRoleRelationship>()); }
/// <summary> /// 返回所有实体信息 /// </summary> /// <returns></returns> public List <UserRoleRelationship> GetAllEntitys() { return(BaseEntityFac.GetAllEntitys <UserRoleRelationship>()); }
/// <summary> /// 获取实体最新数据 /// </summary> /// <typeparam name="T"></typeparam> /// <returns></returns> public List <T> RefreshEntityData <T>() where T : class { return(BaseEntityFac.GetAllEntitys <T>()); }