/// <summary> /// Register the MS implementation of IParameterBuilder, SchemaWriter and QuerySet for the /// database associated with the specified type. /// </summary> /// <typeparam name="T"></typeparam> public static void Register <T>() where T : Dao { Register(Db.For <T>().ServiceProvider); }
/// <summary> /// Register the MS implementation of IParameterBuilder, SchemaWriter and QuerySet for the /// database associated with the specified type. /// </summary> public static void Register(Type daoType) { Register(Db.For(daoType).ServiceProvider); }
public DaoTransaction BeginTransaction(Type type) { return(Db.BeginTransaction(type)); }
/// <summary> /// Register the MS implementation of IParameterBuilder, SchemaWriter and QuerySet for the /// database associated with the specified connectionName. /// </summary> public static void Register(string connectionName) { Register(Db.For(connectionName).ServiceProvider); }
public DaoTransaction BeginTransaction <T>() where T : Dao { return(Db.BeginTransaction <T>()); }