/// <summary> /// Compara dos indices y devuelve true si son iguales, caso contrario, devuelve false. /// </summary> public static Boolean Compare(TableOption origen, TableOption destino) { if (destino == null) throw new ArgumentNullException("destino"); if (origen == null) throw new ArgumentNullException("origen"); if (!destino.Value.Equals(origen.Value)) return false; return true; }
/// <summary> /// Clona el objeto en una nueva instancia. /// </summary> public override ISchemaBase Clone(ISchemaBase parent) { TableOption option = new TableOption(parent); option.Name = this.Name; option.Status = this.Status; option.Value = this.Value; return option; }
/// <summary> /// Clona el objeto en una nueva instancia. /// </summary> public override ISchemaBase Clone(ISchemaBase parent) { TableOption option = new TableOption(parent); option.Name = this.Name; option.Status = this.Status; option.Value = this.Value; return(option); }
/// <summary> /// Compara dos indices y devuelve true si son iguales, caso contrario, devuelve false. /// </summary> public static Boolean Compare(TableOption origen, TableOption destino) { if (destino == null) { throw new ArgumentNullException("destino"); } if (origen == null) { throw new ArgumentNullException("origen"); } if (!destino.Value.Equals(origen.Value)) { return(false); } return(true); }