예제 #1
0
 public tblBanner()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #2
0
 public tblvalore(string connectionString, string providerName)
 {
     _db=new Sme.Data.sm3DB(connectionString, providerName);
     Init();
 }
예제 #3
0
 public tblpaginavisao()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #4
0
 public tblparametro()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #5
0
 public tblalbumfoto()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #6
0
 public tblpaginavisao(string connectionString, string providerName)
 {
     _db=new Sme.Data.sm3DB(connectionString, providerName);
     Init();
 }
예제 #7
0
 public tblpaginaestruturaorganizacional()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #8
0
 public tbllogin()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #9
0
 public tblpaginaempresa()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #10
0
 public tblpaginaestruturaorganizacional(string connectionString, string providerName)
 {
     _db=new Sme.Data.sm3DB(connectionString, providerName);
     Init();
 }
예제 #11
0
 public tblnoticia()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #12
0
 public tblnossosservico()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #13
0
 public tblnossosservico(string connectionString, string providerName)
 {
     _db=new Sme.Data.sm3DB(connectionString, providerName);
     Init();
 }
예제 #14
0
 public tblvalore()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #15
0
 public tblpaginaprofissionai()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }
예제 #16
0
        internal static IRepository<tblvalore> GetRepo(string connectionString, string providerName)
        {
            Sme.Data.sm3DB db;
            if(String.IsNullOrEmpty(connectionString)){
                db=new Sme.Data.sm3DB();
            }else{
                db=new Sme.Data.sm3DB(connectionString, providerName);
            }
            IRepository<tblvalore> _repo;

            if(db.TestMode){
                tblvalore.SetTestRepo();
                _repo=_testRepo;
            }else{
                _repo = new SubSonicRepository<tblvalore>(db);
            }
            return _repo;
        }
예제 #17
0
 public tbldica()
 {
     _db=new Sme.Data.sm3DB();
     Init();
 }