OutputGeneratorActivity.Execute Method
Generates output that is supplied to the specified NativeActivityContext based on input specified in the NativeActivityContext.
Namespace: Microsoft.Data.Entity.Design.DatabaseGeneration.OutputGenerators
Assembly: Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
Syntax
'Declaration
Protected Overrides Sub Execute ( _
context As NativeActivityContext _
)
'Usage
Dim context As NativeActivityContext
Me.Execute(context)
protected override void Execute(
NativeActivityContext context
)
protected:
virtual void Execute(
NativeActivityContext^ context
) override
protected override function Execute(
context : NativeActivityContext
)
Parameters
- context
Type: System.Activities.NativeActivityContext
The state of the current activity.
Remarks
In the derived class CsdlToSsdlAndMslActivity the Execute method initiates the transformation of conceptual schema definition language (CSDL) to store schema definition language (SSDL) and mapping specification language (MSL).
The Execute() method will load the type specified in the OutputGeneratorType property and will call the GenerateActivityOutput``1() method. If the assembly that contains the specified type (<T>) is not found, the Execute() method attempts to use an IAssemblyLoader type that is specified through the EdmParameterBag to load the assembly.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
OutputGeneratorActivity Members
Microsoft.Data.Entity.Design.DatabaseGeneration.OutputGenerators Namespace