IModelMultiRelationship<TFrom, TTo>.AddElement Method
Adds a relationship entry (based on an element) to the end of the relationship.
Namespace: Microsoft.Data.Schema.SchemaModel
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Function AddElement ( _
element As TTo _
) As IModelRelationshipEntry
IModelRelationshipEntry AddElement(
TTo element
)
IModelRelationshipEntry^ AddElement(
TTo element
)
abstract AddElement :
element:'TTo -> IModelRelationshipEntry
function AddElement(
element : TTo
) : IModelRelationshipEntry
Parameters
- element
Type: TTo
The element to be added
Return Value
Type: Microsoft.Data.Schema.SchemaModel.IModelRelationshipEntry
Returns a IModelRelationshipEntry.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.