Пример #1
0
 public static T ExecScalar <T>(this string query, IQueryArgs args) where T : class
 {
     return(args.ExecScalar <T>(query));
 }
Пример #2
0
 public static T ExecScalar <T>(this string query, string[] parameters, object[] values, IQueryArgs args, CommandType type = CommandType.StoredProcedure) where T : class
 {
     return(args.ExecScalar <T>(query, parameters, values, type));
 }
Пример #3
0
 public static object ExecScalar(this string query, IQueryArgs args)
 {
     return(args.ExecScalar(query));
 }