Esempio n. 1
0
 /// <summary>
 /// The find all.
 /// </summary>
 /// <param name="defaultQuery">
 /// The default query.
 /// </param>
 /// <returns>
 /// The <see cref="IEnumerable{T}"/>.
 /// </returns>
 public IEnumerable <TEntity> FindAll(DefaultQueryOver <TEntity, TId> defaultQuery)
 {
     return(this.FindAll(defaultQuery.GetQueryOver()));
 }
Esempio n. 2
0
 /// <summary>
 /// The find one.
 /// </summary>
 /// <param name="defaultQuery">
 /// The default query.
 /// </param>
 /// <typeparam name="TReturn">
 /// Returned object type
 /// </typeparam>
 /// <returns>
 /// The <see cref="IFutureValue{TReturn}"/>.
 /// </returns>
 public IFutureValue <TReturn> FindOne <TReturn>(DefaultQueryOver <TEntity, TId> defaultQuery)
 {
     return(this.FindOne <TReturn>(defaultQuery.GetQueryOver()));
 }