public Favorite() { _db=new DAL.QTDB(); Init(); }
public Answer() { _db=new DAL.QTDB(); Init(); }
public Favorite(string connectionString, string providerName) { _db=new DAL.QTDB(connectionString, providerName); Init(); }
public Answer(string connectionString, string providerName) { _db=new DAL.QTDB(connectionString, providerName); Init(); }
internal static IRepository<Answer> GetRepo(string connectionString, string providerName) { DAL.QTDB db; if(String.IsNullOrEmpty(connectionString)){ db=new DAL.QTDB(); }else{ db=new DAL.QTDB(connectionString, providerName); } IRepository<Answer> _repo; if(db.TestMode){ Answer.SetTestRepo(); _repo=_testRepo; }else{ _repo = new SubSonicRepository<Answer>(db); } return _repo; }
public UserInfo() { _db=new DAL.QTDB(); Init(); }
public UserInfo(string connectionString, string providerName) { _db=new DAL.QTDB(connectionString, providerName); Init(); }
public Tag() { _db=new DAL.QTDB(); Init(); }
public QuestionInTag() { _db=new DAL.QTDB(); Init(); }
public QuestionInTag(string connectionString, string providerName) { _db=new DAL.QTDB(connectionString, providerName); Init(); }