src/Misc/EFTools/EntityDesignDataSourceWizardExtension/EdmDataSourceWizardEngine.cs
/// <summary>
///     Create a data bucket to hold data collected by the wizard engine.
///     This is called when the user selects Add New Data Source menu item
/// </summary>
/// <param name="wizardForm"></param>
/// <param name="referencedItem"></param>
/// <param name="targetCollection"></param>
/// <returns></returns>
Create a data bucket to hold data collected by the wizard engine.
This is called when the user selects Add New Data Source menu item
Create a data bucket to hold data collected by the wizard engine . This is called when the user selects Add New Data Source menu item
IDataSourceWizardData IDataSourceWizardEngine.CreateData(
            DataSourceWizardFormBase wizardForm, ProjectItem referencedItem, ProjectItems targetCollection)
        {
            Debug.Assert(wizardForm != null, "Wizard form is null!");
            Debug.Assert(wizardForm.Project != null, "Could not determine the current project");
            var data = new EdmDataSourceWizardData
                {
                    ContainingProject = wizardForm.Project,
                };
            return data;
        }
IDataSourceWizardData IDataSourceWizardEngine . CreateData ( DataSourceWizardFormBase wizardForm , ProjectItem referencedItem , ProjectItems targetCollection ) { Debug . Assert ( wizardForm != null , " " ) ; Debug . Assert ( wizardForm . Project != null , " " ) ; var data = new EdmDataSourceWizardData { ContainingProject = wizardForm . Project , } ; return data ; }
Create a data bucket to hold data collected by the wizard engine.
Create a data bucket to hold data collected by the wizard engine .
None
wizardForm
DataSourceWizardFormBase
None
referencedItem
ProjectItem
None
targetCollection
ProjectItems
None