protected void RestoreFrom(Trigger backup) { base.RestoreFrom(backup); UpdateEventColumns.Clear(); UpdateEventColumns.AddRange(backup.UpdateEventColumns); TableSchema = backup.TableSchema; TableName = backup.TableName; Definition = backup.Definition; }
public override bool ContentEquals(NamedObject obj) { Trigger t = obj as Trigger; return(base.ContentEquals(obj) && UpdateEventColumns.Equals(t.UpdateEventColumns) && (TableSchema == t.TableSchema) && (TableName == t.TableName) && (Definition == t.Definition)); }