/// <inheritdoc />
            public IEnumerable <TEntity> Where <TEntity>(Expression <Func <TEntity, bool> > predicate)
                where TEntity : class
            {
                ITransactionContracts.Where(this, predicate);

                return(this.connection.Table <TEntity>().Where(predicate));
            }
예제 #2
0
        /// <inheritdoc />
        public IEnumerable <TEntity> Where(Expression <Func <TEntity, bool> > predicate)
        {
            ITransactionContracts.Where(this, predicate);

            return(this.transaction.Where(predicate));
        }