예제 #1
0
        private void VisitBase(object source, object target, TypeDifferenceEnum kind, string propertyName, DifferenceModel item)
        {
            if (source is TypeItem)
            {
                Visit(source as TypeItem, target as TypeItem, kind, propertyName, item);
            }

            else if (source is SynonymModel)
            {
                Visit(source as SynonymModel, target as SynonymModel, kind, propertyName, item);
            }

            else if (source is ProcedureModel)
            {
                Visit(source as ProcedureModel, target as ProcedureModel, kind, propertyName, item);
            }

            else if (source is SequenceModel)
            {
                Visit(source as SequenceModel, target as SequenceModel, kind, propertyName, item);
            }

            else if (source is PackageModel)
            {
                Visit(source as PackageModel, target as PackageModel, kind, propertyName, item);
            }

            else if (source is GrantModel)
            {
                Visit(source as GrantModel, target as GrantModel, kind, propertyName, item);
            }

            else if (source is ConstraintModel)
            {
                Visit(source as ConstraintModel, target as ConstraintModel, kind, propertyName, item);
            }

            else if (source is PropertyModel)
            {
                Visit(source as PropertyModel, target as PropertyModel, kind, propertyName, item);
            }

            else if (source is ColumnModel)
            {
                Visit(source as ColumnModel, target as ColumnModel, kind, propertyName, item);
            }

            else if (source is TableModel)
            {
                Visit(source as TableModel, target as TableModel, kind, propertyName, item);
            }

            else if (source is ArgumentModel)
            {
                Visit(source as ArgumentModel, target as ArgumentModel, kind, propertyName, item);
            }

            else if (source is IndexModel)
            {
                Visit(source as IndexModel, target as IndexModel, kind, propertyName, item);
            }

            else if (source is TriggerModel)
            {
                Visit(source as TriggerModel, target as TriggerModel, kind, propertyName, item);
            }
        }
예제 #2
0
 protected virtual void Visit(SynonymModel source, SynonymModel target, TypeDifferenceEnum kind, string propertyName, DifferenceModel item)
 {
 }
예제 #3
0
 protected virtual void Visit(TypeItem source, TypeItem target, TypeDifferenceEnum kind, string propertyName, DifferenceModel item)
 {
 }
예제 #4
0
 protected virtual void Visit(ConstraintModel source, ConstraintModel target, TypeDifferenceEnum kind, string propertyName, DifferenceModel item)
 {
 }