Пример #1
0
 public static void Execute(this DataQueryContextBase context, string sql, params object[] parameters)
 {
     context.Execute(new Command(sql, parameters));
 }
Пример #2
0
 public static T FindSingle <T>(this DataQueryContextBase context, Expression <Func <T, bool> > predicate) where T : EntityBase
 {
     return(context.FindSingle(new Specification <T>(predicate)));
 }