src/Misc/EFTools/EntityDesign/VisualStudio/ModelWizard/engine/ProgressDialogHelper.cs
// <summary>
//     Helper method used to show the ProgressDialog and collect return type information about sprocs
// </summary>
// <param name="owner">Window that owns the dialog</param>
// <param name="newFunctionEntries">list of Functions for which we should collect information</param>
// <param name="modelBuilderSettings">ModelBuilderSettings where collected information will be stored</param>
Helper method used to show the ProgressDialog and collect return type information about sprocs
Helper method used to show the ProgressDialog and collect return type information about sprocs
public static DialogResult ShowProgressDialog(
            IWin32Window owner, IList<EntityStoreSchemaFilterEntry> newFunctionEntries, ModelBuilderSettings modelBuilderSettings)
        {
            var args = new GatherAndReturnSprocInfo(newFunctionEntries, modelBuilderSettings);
            using (var pd = new ProgressDialog(
                Design.Resources.RetrievingSprocReturnTypeProgressDialogTitle,
                Design.Resources.RetrievingSprocReturnTypeProgressDialogDescription,
                Design.Resources.RetrievingSprocReturnTypeProgressDialogInitialStatus, GatherAndStoreSchemaProcedureInformation, args))
            {
                return pd.ShowDialog(owner);
            }
        }
public static DialogResult ShowProgressDialog ( IWin32Window owner , IList < EntityStoreSchemaFilterEntry > newFunctionEntries , ModelBuilderSettings modelBuilderSettings ) { var args = new GatherAndReturnSprocInfo ( newFunctionEntries , modelBuilderSettings ) ; using ( var pd = new ProgressDialog ( Design . Resources . RetrievingSprocReturnTypeProgressDialogTitle , Design . Resources . RetrievingSprocReturnTypeProgressDialogDescription , Design . Resources . RetrievingSprocReturnTypeProgressDialogInitialStatus , GatherAndStoreSchemaProcedureInformation , args ) ) { return pd . ShowDialog ( owner ) ; } }
Helper method used to show the ProgressDialog and collect return type information about sprocs
Helper method used to show the ProgressDialog and collect return type information about sprocs
owner
IWin32Window
Window that owns the dialog
Window that owns the dialog
newFunctionEntries
IList<EntityStoreSchemaFilterEntry>
list of Functions for which we should collect information
list of Functions for which we should collect information
modelBuilderSettings
ModelBuilderSettings
ModelBuilderSettings where collected information will be stored
ModelBuilderSettings where collected information will be stored