ModelTranslatorDefinition.AddAction Method
Adds an action.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub AddAction ( _
fromClass As ElementClass, _
action As ModelTranslatorAction _
)
'Usage
Dim instance As ModelTranslatorDefinition
Dim fromClass As ElementClass
Dim action As ModelTranslatorAction
instance.AddAction(fromClass, action)
public void AddAction(
ElementClass fromClass,
ModelTranslatorAction action
)
public:
void AddAction(
ElementClass^ fromClass,
ModelTranslatorAction^ action
)
public function AddAction(
fromClass : ElementClass,
action : ModelTranslatorAction
)
member AddAction :
fromClass:ElementClass *
action:ModelTranslatorAction -> unit
Parameters
- fromClass
Type: Microsoft.Data.Schema.SchemaModel.ElementClass
The source class
- action
Type: Microsoft.Data.Schema.SchemaModel.ModelTranslatorAction
The translator action to add
.NET Framework Security
- 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
ModelTranslatorDefinition Class