Esempio n. 1
0
        public TradelrRepository()
        {
            db = new tradelrDataContext();
#if DEBUG
            //db.Log = new DebuggerWriter();
#endif
        }
Esempio n. 2
0
 public TradelrRepository(tradelrDataContext _db)
 {
     db = _db;
 }
Esempio n. 3
0
 public static user GetUserByPasswordHash(this tradelrDataContext db, string hash, long subdomainid)
 {
     return(GetUserByPasswordHashQuery(db, hash, subdomainid));
 }
Esempio n. 4
0
 public static user GetUserById(this tradelrDataContext db, long sessionid, long subdomainid)
 {
     return(GetUserByIdQuery(db, sessionid, subdomainid));
 }
Esempio n. 5
0
 public static MASTERsubdomain GetSubDomainByID(this tradelrDataContext db, long id)
 {
     return(GetSubDomainByIDQuery(db, id));
 }
Esempio n. 6
0
 public static MASTERsubdomain GetSubDomain(this tradelrDataContext db, string name)
 {
     return(GetSubDomainQuery(db, name));
 }
Esempio n. 7
0
 public static MASTERsubdomain GetCustomHostname(this tradelrDataContext db, string hostname)
 {
     return(GetCustomHostnameQuery(db, hostname));
 }