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