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

EdmConstants Class

Defines constants that are used by classes in the Microsoft.Data.Entity.Design.DatabaseGeneration, Microsoft.Data.Entity.Design.DatabaseGeneration.Activities, and Microsoft.Data.Entity.Design.DatabaseGeneration.OutputGenerators namespaces when generating a database from a conceptual model.

System.Object
  Microsoft.Data.Entity.Design.DatabaseGeneration.EdmConstants

Namespace:  Microsoft.Data.Entity.Design.DatabaseGeneration
Assembly:  Microsoft.Data.Entity.Design.DatabaseGeneration (in Microsoft.Data.Entity.Design.DatabaseGeneration.dll)
public static class EdmConstants

The EdmConstants type exposes the following members.

  NameDescription
Public fieldStatic membercsdlInputNameA read-only field that is the name of the workflow in-argument that represents the incoming conceptual schema definition language (CSDL).
Public fieldStatic memberddlOutputNameA read-only field that is the name of the workflow out-argument that represents the generated data definition language (DDL).
Public fieldStatic memberexistingMslInputNameA read-only field that is the name of the workflow in-argument that represents the incoming mapping specification language (MSL), if it exists.
Public fieldStatic memberexistingSsdlInputNameA read-only field that is the name of the workflow in-argument that represents the incoming storage schema definition language (SSDL), if it exists.
Public fieldStatic membermslOutputNameA read-only field that is the name of the workflow out-argument that represents the generated mapping specification language (MSL).
Public fieldStatic memberssdlOutputNameA read-only field that is the name of the workflow out-argument that represents the generated storage schema definition language (SSDL).
Top

The following example shows how to access the store schema definition language (SSDL) generated by a workflow. Other workflow out arguments can be accessed in a similar way:

[C#]

((WorkflowApplicationCompletedEventArgs)e).Outputs.TryGetValue(EdmConstants.ssdlOutputName, out ssdlOutput)
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.