Namespace: Consultingwerk.BusinessEntityDesigner.Plugins
Class 
CsharpGeneratorPlugin Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.BusinessEntityDesigner.IBusinessEntityDesignerPlugin

File:CsharpGeneratorPlugin
Purpose:Business Entity Designer Plugin to create C# classes
from the dataset design using the xsd.exe utility
Description:Creates a "C# Classes" button in the Business Entity
Designer. Allows to generate C# typed dataset or
value classes based on the Business Entity ProDataset
structure.
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Dec 21 14:50:56 CET 2014



Top Method Summary
Options Name Purpose
# GenerateCsharp () Shows the Wizzard to create an C# Classes
+ Shutdown () Shuts down the plugin
+ Startup (dataset, BusinessEntityDatasetController, BusinessEntityDesignerForm, UltraToolbarsManager) Initializes the plugin
# ToolClickHandler (Object, ToolClickEventArgs) Handles the ToolClick event of the Business Entity Designer's UltraToolbarsManager

Top Constructor Summary
Options Name Purpose
+ CsharpGeneratorPlugin () Constructor for the CsharpGeneratorPlugin class


Method Detail
Top

PROTECTED GenerateCsharp ()

Purpose: Shows the Wizzard to create an C# Classes
Notes:

Top

PUBLIC Shutdown ()

Purpose: Shuts down the plugin
Notes:

Top

PUBLIC Startup (dataset, BusinessEntityDatasetController, BusinessEntityDesignerForm, UltraToolbarsManager)

Purpose: Initializes the plugin
Notes:

Parameters:
dsBusinessEntity DATASET
Business Entity with the Design dataset, called with the BIND keyword
poController Consultingwerk.BusinessEntityDesigner.Services.BusinessEntityDatasetController
The BusinessEntityDatasetController
poForm Consultingwerk.BusinessEntityDesigner.UI.BusinessEntityDesignerForm
The main Form of the BusinessEntityDesigner
poToolbar Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
The reference to the UltraToolbarsManager used by the BusinessEntityDesigner
Top

PROTECTED ToolClickHandler (Object, ToolClickEventArgs)

Purpose: Handles the ToolClick event of the Business Entity Designer's
UltraToolbarsManager
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event


Constructor Detail
Top

PUBLIC CsharpGeneratorPlugin ()

Purpose: Constructor for the CsharpGeneratorPlugin class
Notes:



©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:26:12