public bool update(Carte carte) { object[] values = new object[] { carte.IdMoyenPaiement, carte.DateDebValidite, carte.DateFinValidite, carte.TypeCarte.IdTypeCarte, carte.NumeroCarte }; object[] valuesWhere = new object[] { carte.IdMoyenPaiement }; return(Connexion.update(tableName, champs, values, champsWhere, valuesWhere)); }
public bool delete(Contrat contrat) { return(Connexion.callProcedureNonQuery("delContrat", new string[] { "P_ID_CONTRAT" }, new object[] { contrat.IdContrat }, false)); }
public bool update(MoyenPaiement moyenPaiement) { object[] values = new object[] { moyenPaiement.Compte.IdCompte, moyenPaiement.LibelleMoyenPaiementStr }; object[] valuesWhere = new object[] { moyenPaiement.IdMoyenPaiement }; return(Connexion.update(tableName, champs, values, champsWhere, valuesWhere)); }
public bool delete(Carte carte) { return(Connexion.callProcedureNonQuery("delCarte", new string[] { "P_ID_MOYEN_PAIEMENT" }, new object[] { carte.IdMoyenPaiement }, false)); }
public bool delete(Operation operation) { return(Connexion.delete(tableName, champsWhere, new object[] { operation.IdOperation })); }
public bool delete(MoyenPaiement moyenPaiement) { return(Connexion.callProcedureNonQuery("delMoyenPaiement", new string[] { "P_ID_MOYEN_PAIEMENT" }, new object[] { moyenPaiement.IdMoyenPaiement }, false)); }
public bool delete(Client client) { return(Connexion.delete(tableName, champsWhere, new object[] { client.IdClient })); }
public bool delete(Chequier chequier) { return(Connexion.callProcedureNonQuery("delChequier", new string[] { "P_ID_MOYEN_PAIEMENT" }, new object[] { chequier.IdMoyenPaiement }, false)); }
public bool update(Compte compte) { object[] values = new object[] { compte.MontantInitial, compte.Client.IdClient, compte.TypeCompteStr }; object[] valuesWhere = new object[] { compte.IdCompte }; return(Connexion.update(tableName, champs, values, champsWhere, valuesWhere)); }
public bool insert(Client client) { object[] values = new object[] { client.Nom, client.Prenom, client.DateNaissance, client.Email, client.AdressePrincipale, client.AdresseTemporaire, client.TelFixe, client.TelPortable }; return(Connexion.insert(tableName, champs, values)); }
public bool delete(Compte compte) { return(Connexion.delete(tableName, champsWhere, new object[] { compte.IdCompte })); }
public bool insert(Compte compte) { object[] values = new object[] { compte.MontantInitial, compte.Client.IdClient, compte.TypeCompteStr }; return(Connexion.insert(tableName, champs, values)); }
public bool update(Chequier chequier) { object[] values = new object[] { chequier.IdMoyenPaiement, chequier.NombreCheque, chequier.Numero1Cheque, chequier.DernierCheque }; object[] valuesWhere = new object[] { chequier.IdMoyenPaiement }; return(Connexion.update(tableName, champs, values, champsWhere, valuesWhere)); }
public static IDataReader getAll() { return(Connexion.getAll(tableName)); }
public bool insert(Operation operation) { object[] values = new object[] { operation.MoyenPaiement.IdMoyenPaiement, operation.Libelle, operation.TypeOperationStr , operation.MontantDebit, operation.MontantCredit, operation.StatutStr, operation.Compte.IdCompte }; return(Connexion.insert(tableName, champs, values)); }
public static IDataReader get(long id) { return(Connexion.get(tableName, champsWhere, new object[] { id })); }
public bool delete(TypeCarte typeCarte) { return(Connexion.delete(tableName, champsWhere, new object[] { typeCarte.IdTypeCarte })); }