TemplateActivity Class

 

TemplateActivity that allows the transformation of a T4 template within a WF workflow. NOTE that this class should avoid any dependencies on any instance types (especially types instantiated by the Entity Designer) in the Microsoft.Data.Entity.Design.* namespace except for Microsoft.Data.Entity.Design.CreateDatabase. This class exists in this project because of VS dependencies.

Namespace:   Microsoft.Data.Entity.Design.VisualStudio.TextTemplating
Assembly:  Microsoft.Data.Entity.Design (in Microsoft.Data.Entity.Design.dll)

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

public abstract class TemplateActivity : NativeActivity

NameDescription
System_CAPS_protmethodTemplateActivity()

Initializes a new instance of the TemplateActivity class.

NameDescription
System_CAPS_protpropertyCacheId

(Inherited from Activity.)

System_CAPS_protpropertyCanInduceIdle

(Inherited from NativeActivity.)

System_CAPS_protpropertyConstraints

(Inherited from Activity.)

System_CAPS_pubpropertyDisplayName

(Inherited from Activity.)

System_CAPS_pubpropertyId

(Inherited from Activity.)

System_CAPS_protpropertyImplementation

(Inherited from NativeActivity.)

System_CAPS_protpropertyImplementationVersion

(Inherited from NativeActivity.)

System_CAPS_protpropertyTemplateOutput

The output of the template that is specified by the TemplatePath property.

System_CAPS_pubpropertyTemplatePath

The path of the text template being processed.

NameDescription
System_CAPS_protmethodAbort(NativeActivityAbortContext)

(Inherited from NativeActivity.)

System_CAPS_protmethodCacheMetadata(ActivityMetadata)

(Inherited from NativeActivity.)

System_CAPS_protmethodCacheMetadata(NativeActivityMetadata)

(Inherited from NativeActivity.)

System_CAPS_protmethodCancel(NativeActivityContext)

(Inherited from NativeActivity.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodExecute(NativeActivityContext)

Transforms a text template that is specified in the TemplatePath property by calling the Visual Studio STextTemplatingService.(Overrides NativeActivity.Execute(NativeActivityContext).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnCreateDynamicUpdateMap(NativeActivityUpdateMapMetadata, Activity)

(Inherited from NativeActivity.)

System_CAPS_protmethodOnCreateDynamicUpdateMap(UpdateMapMetadata, Activity)

(Inherited from NativeActivity.)

System_CAPS_protmethodOnGetTemplateInputs(NativeActivityContext, IDictionary<String, Object>)

Populates 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.

System_CAPS_protmethodProcessTemplate(String)

Process a T4 template using Visual Studio's text templating service, given a path that could contain macros (i.e. "$(DevEnvDir)\..."). NOTE: Template paths that are not files or are UNC paths are not allowed

System_CAPS_pubmethodShouldSerializeDisplayName()

(Inherited from Activity.)

System_CAPS_pubmethodToString()

(Inherited from Activity.)

System_CAPS_protmethodUpdateInstance(NativeActivityUpdateContext)

(Inherited from NativeActivity.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.