Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TemplateActivity Class

Provides functionality for transforming text templates within a Windows Workflow.

System.Object
  System.Activities.Activity
    System.Activities.NativeActivity
      Microsoft.Data.Entity.Design.VisualStudio.TextTemplating.TemplateActivity
        Microsoft.Data.Entity.Design.DatabaseGeneration.Activities.SsdlToDdlActivity

Namespace:  Microsoft.Data.Entity.Design.VisualStudio.TextTemplating
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)
public abstract class TemplateActivity : NativeActivity

The TemplateActivity type exposes the following members.

  NameDescription
Protected methodTemplateActivityCreates a new instance of the TemplateActivity class.
Top
  NameDescription
Protected propertyCacheId (Inherited from Activity.)
Protected propertyCanInduceIdle (Inherited from NativeActivity.)
Protected propertyConstraints (Inherited from Activity.)
Public propertyDisplayName (Inherited from Activity.)
Public propertyId (Inherited from Activity.)
Protected propertyImplementation (Inherited from NativeActivity.)
Protected propertyImplementationVersion (Inherited from NativeActivity.)
Protected propertyTemplateOutputThe output of the template that is specified by the TemplatePath property.
Public propertyTemplatePathThe path of the text template being processed.
Top
  NameDescription
Protected methodAbort (Inherited from NativeActivity.)
Protected methodCacheMetadata(ActivityMetadata) (Inherited from NativeActivity.)
Protected methodCacheMetadata(NativeActivityMetadata) (Inherited from NativeActivity.)
Protected methodCancel (Inherited from NativeActivity.)
Public methodEquals (Inherited from Object.)
Protected methodExecuteTransforms a text template that is specified in the TemplatePath property by calling the Visual Studio STextTemplatingService. (Overrides NativeActivity.Execute(NativeActivityContext).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnCreateDynamicUpdateMap(UpdateMapMetadata, Activity) (Inherited from NativeActivity.)
Protected methodOnCreateDynamicUpdateMap(NativeActivityUpdateMapMetadata, Activity) (Inherited from NativeActivity.)
Protected methodOnGetTemplateInputsPopulates an IDictionary that is used to provide inputs to a text template. This method can be overridden in derived classes to provide custom inputs. These inputs are placed into CallContext for use by the text template.
Protected methodProcessTemplateProcesses a text template by using the STextTemplatingService in Visual Studio.
Public methodShouldSerializeDisplayName (Inherited from Activity.)
Public methodToString (Inherited from Activity.)
Protected methodUpdateInstance (Inherited from NativeActivity.)
Top

The TemplateActivity class transforms a text template within a Windows Workflow through the Visual Studio STextTemplatingService. The SsdlToDdlActivity class inherits from the TemplateActivity class and is used by the Generate Database Wizard to transform a text template that generates DDL from SSDL.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.