예제 #1
0
        internal static IRepository<Calificacione> GetRepo(string connectionString, string providerName)
        {
            DAL.MLDB db;
            if(String.IsNullOrEmpty(connectionString)){
                db=new DAL.MLDB();
            }else{
                db=new DAL.MLDB(connectionString, providerName);
            }
            IRepository<Calificacione> _repo;

            if(db.TestMode){
                Calificacione.SetTestRepo();
                _repo=_testRepo;
            }else{
                _repo = new SubSonicRepository<Calificacione>(db);
            }
            return _repo;
        }
예제 #2
0
 public Calificacione(string connectionString, string providerName)
 {
     _db=new DAL.MLDB(connectionString, providerName);
     Init();
 }
예제 #3
0
 public Calificacione()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #4
0
 public Usuario()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #5
0
 public Busqueda()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #6
0
 public Mensajeria()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #7
0
 public Busqueda(string connectionString, string providerName)
 {
     _db=new DAL.MLDB(connectionString, providerName);
     Init();
 }
예제 #8
0
 public sqlite_sequence()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #9
0
 public Transaccione(string connectionString, string providerName)
 {
     _db=new DAL.MLDB(connectionString, providerName);
     Init();
 }
예제 #10
0
 public Paise()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #11
0
 public sqlite_sequence(string connectionString, string providerName)
 {
     _db=new DAL.MLDB(connectionString, providerName);
     Init();
 }
예제 #12
0
 public Operacione()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #13
0
 public MenuPrincipal()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #14
0
 public MenuPrincipal(string connectionString, string providerName)
 {
     _db=new DAL.MLDB(connectionString, providerName);
     Init();
 }
예제 #15
0
 public Estado(string connectionString, string providerName)
 {
     _db=new DAL.MLDB(connectionString, providerName);
     Init();
 }
예제 #16
0
 public Transaccione()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #17
0
 public Estado()
 {
     _db=new DAL.MLDB();
     Init();
 }
예제 #18
0
 public Mensajeria(string connectionString, string providerName)
 {
     _db=new DAL.MLDB(connectionString, providerName);
     Init();
 }