public override Boolean Equals(object obj) { if ((obj == null) || (obj.GetType() != this.GetType())) { return(false); } CONSQLParameter castObj = (CONSQLParameter)obj; return((castObj != null) && (this.Id == castObj.Id)); }
public CONSQLParameter(CONSQLParameter data, Options option) : base(data, option) { if (option == Options.Light || option == Options.Me || option == Options.All) { //OptionName.Light if (option == Options.Me || option == Options.All) { this.SQL = (data.SQL != null) ? new CONSQL(data.SQL, Options.Light) : null; } } }