public ConfigurationConnexion( string strNomConfig, string strHost, string strLogin, string strPass, string strBase, ConnexionBD.Type typeBase, ConnexionBD.Options structOptions ) { /*this.MegaList = new List<string>(); this.MegaList.Add("un"); this.MegaList.Add("deux"); this.MegaList.Add("trois");//*/ this.strNomConfig = strNomConfig; this.strHost = strHost; this.strLogin = strLogin; this.strPass = strPass; this.strBase = strBase; this.typeBase = typeBase; //this.typeBase = new ConnexionBD.Type(typeBase.strValue, typeBase.enumerationValue, typeBase.intValue); this.structOptions = structOptions; this.version = Application.ProductVersion; this.dateCréation = DateTime.Now; }
// Constructeur public ConfigurationConnexion() { this.strNomConfig = ""; this.strHost = ""; this.strLogin = ""; this.strPass = ""; this.strBase = ""; this.typeBase = ConnexionBD.Indefini; //this.typeBase = new ConnexionBD.Type(ConnexionBD.Indefini.strValue, ConnexionBD.Indefini.enumerationValue, ConnexionBD.Indefini.intValue); this.structOptions = new ConnexionBD.Options( false, false ) ; this.version = Application.ProductVersion; this.dateCréation = DateTime.Now; }