public override bool Equals(object obj) { if (obj == null) { return(false); } RecipeTriggerEN t = obj as RecipeTriggerEN; if (t == null) { return(false); } if (Id.Equals(t.Id)) { return(true); } else { return(false); } }
public RecipeTriggerEN(RecipeTriggerEN recipeTrigger) { this.init(Id, recipeTrigger.Recipe, recipeTrigger.Operator_, recipeTrigger.Value, recipeTrigger.EntityAttributes, recipeTrigger.Event_, recipeTrigger.Description); }