internal override void DispatchToModelGenerationExtensions()
        {
            var edmx = ((EdmxModelBuilderEngine)_settings.ModelBuilderEngine).Edmx;

            var fromDBDocument = new XDocument(edmx);
            var dispatcher =
                new ModelGenerationExtensionDispatcher(
                    _settings.WizardKind,
                    fromDBDocument,
                    edmx,
                    _settings.Project);

            dispatcher.Dispatch();
            _settings.HasExtensionChangedModel = dispatcher.HasCurrentChanged;
        }
Esempio n. 2
0
        internal override void DispatchToModelGenerationExtensions()
        {
            var edmx = ((EdmxModelBuilderEngine)_settings.ModelBuilderEngine).Edmx;

            var fromDBDocument = new XDocument(edmx);
            var dispatcher     =
                new ModelGenerationExtensionDispatcher(
                    _settings.WizardKind,
                    fromDBDocument,
                    edmx,
                    _settings.Project);

            dispatcher.Dispatch();
            _settings.HasExtensionChangedModel = dispatcher.HasCurrentChanged;
        }