public static MysqlDb GetInstance() { if (MysqlDb._db == null) { IniFile ini = PAZController.GetInstance().IniReader; MysqlDb._db = new MysqlDb(ini["DATABASESETTINGS"]["db_host"], ini["DATABASESETTINGS"]["db_username"], ini["DATABASESETTINGS"]["db_password"], ini["DATABASESETTINGS"]["db_database"]); } return MysqlDb._db; }
public static MysqlDb GetInstance() { if (MysqlDb._db == null) { IniFile ini = PAZController.GetInstance().IniReader; MysqlDb._db = new MysqlDb(ini["DATABASESETTINGS"]["db_host"], ini["DATABASESETTINGS"]["db_username"], ini["DATABASESETTINGS"]["db_password"], ini["DATABASESETTINGS"]["db_database"]); } return(MysqlDb._db); }
public PairMapper(MysqlDb db) : base(db) { }
public BlockedTimeslotMapper(MysqlDb db) : base(db) { }
public TeacherMapper(MysqlDb db) : base(db) { }
public AdminMapper(MysqlDb db) : base(db) { }
public ClassroomMapper(MysqlDb db) : base(db) { }
public StudentMapper(MysqlDb db) : base(db) { }
public Mapper(MysqlDb db) { this._db = db; }
public SessionMapper(MysqlDb db) : base(db) { }
public ExpertMapper(MysqlDb db) : base(db) { }
public DaytimeMapper(MysqlDb db) : base(db) { }
public EmailTemplateMapper(MysqlDb db) : base(db) { }
public LetterTemplateMapper(MysqlDb db) : base(db) { }
public TimeslotMapper(MysqlDb db) : base(db) { }
public UserMapper(MysqlDb db) : base(db) { }