public static T ExecScalar <T>(this string query, IQueryArgs args) where T : class { return(args.ExecScalar <T>(query)); }
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)); }
public static object ExecScalar(this string query, IQueryArgs args) { return(args.ExecScalar(query)); }