コード例 #1
0
 protected void RestoreFrom(Trigger backup)
 {
     base.RestoreFrom(backup);
     UpdateEventColumns.Clear();
     UpdateEventColumns.AddRange(backup.UpdateEventColumns);
     TableSchema = backup.TableSchema;
     TableName   = backup.TableName;
     Definition  = backup.Definition;
 }
コード例 #2
0
        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));
        }