public bool CompareTo(ConnectionHolder Con) { if (this.Name != Con.Name) { return(false); } if (this.Host != Con.Host) { return(false); } if (this.Port != Con.Port) { return(false); } if (this.Username != Con.Username) { return(false); } if (this.Password != Con.Password) { return(false); } if (this.Database != Con.Database) { return(false); } return(true); }
public MysqlError Init(ConnectionHolder Holder) { mServer = Holder.Host; mPort = Holder.Port; mUser = Holder.Username; mPassword = Holder.Password; mDatabase = Holder.Database; return(Prepare()); }
public bool CompareTo( ConnectionHolder Con ) { if( this.Name != Con.Name ) return false; if( this.Host != Con.Host ) return false; if( this.Port != Con.Port ) return false; if( this.Username != Con.Username ) return false; if( this.Password != Con.Password ) return false; if( this.Database != Con.Database ) return false; return true; }
public MysqlError Init( ConnectionHolder Holder ) { mServer = Holder.Host; mPort = Holder.Port; mUser = Holder.Username; mPassword = Holder.Password; mDatabase = Holder.Database; return Prepare(); }