예제 #1
0
 public DbCommandPredicate <T> AddCriteria(ICriteria criteria)
 {
     criteria.Build();
     conditions.Add(criteria.ToString());
     parameters.AddRange(criteria.Parameters);
     return(this);
 }
예제 #2
0
 public IQueryable <TEntity> Matches(ICriteria <TEntity> criteria)
 {
     return(criteria.Build(this));
 }