Exemple #1
0
 public Bibliothecaire(String CodeBibl, Connexion con)
 {
     this.CodeBibl = CodeBibl;
     this.con      = con;
 }
Exemple #2
0
 public Bibliothecaire(Connexion con)
 {
     this.con = con;
 }
Exemple #3
0
 public Bibliothecaire(String CodeBibl, String NomBibl, String PrenomBibl, String AdresseBibl, int TelephoneBibl, String Utilisateur, String MotDePass, String Permission, Connexion con)
 {
     this.CodeBibl      = CodeBibl;
     this.NomBibl       = NomBibl;
     this.PrenomBibl    = PrenomBibl;
     this.AdresseBibl   = AdresseBibl;
     this.TelephoneBibl = TelephoneBibl;
     this.Utilisateur   = Utilisateur;
     this.MotDePass     = MotDePass;
     this.Permission    = Permission;
     this.con           = con;
 }
Exemple #4
0
 int getZonNumber(string zonId)
 {
     c = new Connexion();
     return(int.Parse(c.executer_valeur(string.Format(@"SELECT * FROM dbo.Zon WHERE  [id] = '{0}'", zonId))));
 }
Exemple #5
0
 void dataGridRefresh()
 {
     c                    = new Connexion();
     dataTable            = c.showDataTable(string.Format(@"SELECT * FROM dbo.Autor"));
     DG_writer.DataSource = dataTable;
 }
Exemple #6
0
 string getAutorName(string autorId)
 {
     c = new Connexion();
     return(c.executer_valeur(string.Format(@"SELECT [autor_name] FROM Autor WHERE [aut_id] = '{0}'", autorId)));
 }
Exemple #7
0
 public Autor()
 {
     c = new Connexion();
 }
Exemple #8
0
 public Editor()
 {
     c = new Connexion();
 }
Exemple #9
0
 public Login()
 {
     c = new Connexion();
 }
Exemple #10
0
 public Borrow()
 {
     p = new Person();
     b = new Books();
     c = new Connexion();
 }