public static IQuery <T> From <T>(this IDbConnection connection, string where, params object[] options) where T : class { return(IQ.From <T>(where, options, connection)); }
public static T Load <T>(int primaryKeyValue, params object[] options) where T : class { return(IQ.From <T>(primaryKeyValue, options).Single()); }
public static void Load <T>(this T source, int primaryKeyValue) where T : class, IQObject { IQ.From <T>(primaryKeyValue).To(source).Single(); }
public static T Load <T>(string where, params object[] parameters) where T : class { return(IQ.From <T>(where, parameters).Single()); }
public static void Load <T>(this T source, string where, params object[] parms) where T : class, IQObject { IQ.From <T>(where, parms).To(source).Single(); }