Esempio n. 1
0
        public DropWorkspace(DatabaseObjectBase dbObject)
            : base(dbObject)
        {
            var sync = DatabaseObjectSynchronizationBase.GetSynchronization(dbObject);

            SynchronizationItems.AddRange(sync.GetDropItems());
        }
Esempio n. 2
0
        private void populateDifferences(bool ignoreCase, bool condensed)
        {
            var syncItem = DatabaseObjectSynchronizationBase.GetSynchronization(TargetDatabase, SourceObject);

            SynchronizationItems.AddRange(syncItem.GetSynchronizationItems(TargetObject, ignoreCase, condensed));

            if (SourceObject is DatabaseObjectWithExtendedProperties)
            {
                SynchronizationItems.AddRange(ExtendedPropertySynchronization.GetExtendedProperties(TargetDatabase, SourceObject as DatabaseObjectWithExtendedProperties,
                                                                                                    TargetObject as DatabaseObjectWithExtendedProperties));
            }
        }
Esempio n. 3
0
        private void populateDifferences()
        {
            var syncItem = DatabaseObjectSynchronizationBase.GetSynchronization(SourceObject);

            SynchronizationItems.AddRange(syncItem.GetSynchronizationItems(TargetObject));

            if (SourceObject is DatabaseObjectWithExtendedProperties)
            {
                SynchronizationItems.AddRange(ExtendedPropertySynchronization.GetExtendedProperties(SourceObject as DatabaseObjectWithExtendedProperties,
                                                                                                    TargetObject as DatabaseObjectWithExtendedProperties));
            }
        }