public TEntity GetSingle(Func <TEntity, bool> predicate)
 {
     return(_entitySet.Single <TEntity>(predicate));
 }