CreateEntity Method
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
<ExtensionAttribute> _
PublicSharedFunctionCreateEntity ( _
builderAsIGraphBuilder, _
labelAsObject, _
membersAsIEnumerable(OfKeyValuePair(OfObject, Object)) _
) AsObject
'Usage
DimbuilderAsIGraphBuilderDimlabelAsObjectDimmembersAsIEnumerable(OfKeyValuePair(OfObject, Object))
DimreturnValueAsObjectreturnValue = builder.CreateEntity(label, _
members)
publicstaticObjectCreateEntity(
thisIGraphBuilderbuilder,
Objectlabel,
IEnumerable<KeyValuePair<Object, Object>> members
)
[ExtensionAttribute]
public:
staticObject^ CreateEntity(
IGraphBuilder^ builder,
Object^ label,
IEnumerable<KeyValuePair<Object^, Object^>>^ members
)
publicstaticfunctionCreateEntity(
builder : IGraphBuilder,
label : Object,
members : IEnumerable<KeyValuePair<Object, Object>>
) : Object
Parameters
- builder
Type: System.Dataflow. . :: . .IGraphBuilder
- label
Type: System. . :: . .Object
- members
Type: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'KeyValuePair< (Of < ( <'Object, Object> ) > ) >> ) > ) >
Return Value
Type: System. . :: . .Object
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IGraphBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.85) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.85).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).