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 Update Data Source menu item.
/// </summary>
/// <param name="wizardForm"></param>
/// <param name="targetItem"></param>
/// <returns></returns>
Create a data bucket to hold data collected by the wizard engine.
This is called when the user selects Update Data Source menu item.
Create a data bucket to hold data collected by the wizard engine . This is called when the user selects Update Data Source menu item .
IDataSourceWizardData IDataSourceWizardEngine.CreateData(DataSourceWizardFormBase wizardForm, ProjectItem targetItem)
        {
            Debug.Assert(wizardForm != null, "Wizard form is null");
            Debug.Assert(wizardForm.Project != null, "Could not determine the current project");
            Debug.Assert(targetItem != null, "the passed in targetItem is null");
            var data = new EdmDataSourceWizardData
                {
                    ContainingProject = wizardForm.Project,
                    EDMProjectItem = targetItem
                };
            return data;
        }
IDataSourceWizardData IDataSourceWizardEngine . CreateData ( DataSourceWizardFormBase wizardForm , ProjectItem targetItem ) { Debug . Assert ( wizardForm != null , " " ) ; Debug . Assert ( wizardForm . Project != null , " " ) ; Debug . Assert ( targetItem != null , " " ) ; var data = new EdmDataSourceWizardData { ContainingProject = wizardForm . Project , EDMProjectItem = targetItem } ; 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
targetItem
ProjectItem
None