Class EntitySchemaProcessGenerator
Inheritance
System.Object
EntitySchemaProcessGenerator
Inherited Members
SchemaCodeGenerator<ProcessSchema>.CreateSysSchemaSource(SchemaCodeGeneratorResource<ProcessSchema>)
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Terrasoft.Core.Entities
Assembly: Terrasoft.Core.dll
Syntax
public class EntitySchemaProcessGenerator : EmbeddedProcessSchemaGenerator
Constructors
EntitySchemaProcessGenerator(UserConnection, String)
Declaration
public EntitySchemaProcessGenerator(UserConnection userConnection, string namespaceName)
Parameters
Type | Name | Description |
---|---|---|
UserConnection | userConnection | |
System.String | namespaceName |
Methods
GenerateThrowEventMethodBody(ProcessSchemaStartMessageEvent, Collection<String>)
Declaration
protected override void GenerateThrowEventMethodBody(ProcessSchemaStartMessageEvent startMessageEvent, Collection<string> throwEventMethodBody)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaStartMessageEvent | startMessageEvent | |
System.Collections.ObjectModel.Collection<System.String> | throwEventMethodBody |
Overrides
GetElementPropertyPathByMetaPath(String, String, ProcessBasedSchema, Boolean)
Declaration
protected string GetElementPropertyPathByMetaPath(string propertyName, string item, ProcessBasedSchema ownerSchema, bool isSchema = false)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | |
System.String | item | |
ProcessBasedSchema | ownerSchema | |
System.Boolean | isSchema |
Returns
Type | Description |
---|---|
System.String |
GetFlowNodeProcessSchemaName(ProcessSchemaFlowNode)
Declaration
protected override string GetFlowNodeProcessSchemaName(ProcessSchemaFlowNode flowNode)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaFlowNode | flowNode |
Returns
Type | Description |
---|---|
System.String |
Overrides
GetPropertyPathByMetaPath(ProcessSchemaParameter, String, Boolean, Boolean)
Declaration
public override string GetPropertyPathByMetaPath(ProcessSchemaParameter parameter, string propertyMetaPath, bool getDisplayPropertyPath = false, bool addProcessPropertyPath = true)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchemaParameter | parameter | |
System.String | propertyMetaPath | |
System.Boolean | getDisplayPropertyPath | |
System.Boolean | addProcessPropertyPath |
Returns
Type | Description |
---|---|
System.String |
Overrides
PrepareEndEventActivity(ProcessSchema, ProcessSchemaFlowNode, Collection<String>, Collection<String>)
Declaration
protected override void PrepareEndEventActivity(ProcessSchema schema, ProcessSchemaFlowNode flowNode, Collection<string> processQueueMethodBody, Collection<string> executedMethodBody)
Parameters
Type | Name | Description |
---|---|---|
ProcessSchema | schema | |
ProcessSchemaFlowNode | flowNode | |
System.Collections.ObjectModel.Collection<System.String> | processQueueMethodBody | |
System.Collections.ObjectModel.Collection<System.String> | executedMethodBody |
Overrides
WriteProcessProperties(GeneratorContext, ProcessSchema, Collection<CodeGenerator.PropertyCollectionItem>)
Declaration
protected override void WriteProcessProperties(GeneratorContext context, ProcessSchema processSchema, Collection<CodeGenerator.PropertyCollectionItem> publicProperties)
Parameters
Type | Name | Description |
---|---|---|
GeneratorContext | context | |
ProcessSchema | processSchema | |
System.Collections.ObjectModel.Collection<CodeGenerator.PropertyCollectionItem> | publicProperties |