/// <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));
            }
Exemple #2
0
        /// <inheritdoc />
        public IEnumerable <TEntity> Where(Expression <Func <TEntity, bool> > predicate)
        {
            ITransactionContracts.Where(this, predicate);

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