コード例 #1
0
        //IQueryable部分

        #region # 获取实体对象列表 —— virtual IQueryable<T> FindAllInner()
        /// <summary>
        /// 获取实体对象列表
        /// </summary>
        /// <returns>实体对象列表</returns>
        protected virtual IQueryable <T> FindAllInner()
        {
            Expression <Func <T, bool> > condition = RepositoryExtension.BuildFilterExpression <T>();

            return(this._dbContext.Set <T>().Where(condition));
        }
コード例 #2
0
 public async Task RemoveByIdAsync(string[] uids)
 {
     await RepositoryExtension.RemoveByIdAsync(this, uids);
 }