IGraphApiClientPostEdgeDefinitionAsync Method |
Adds an additional edge definition to the graph.
This edge definition has to contain a collection and an array of
each from and to vertex collections. An edge definition can only
be added if this definition is either not used in any other graph, or
it is used with exactly the same definition. It is not possible to
store a definition “e” from “v1” to “v2” in the one graph, and “e”
from “v2” to “v1” in the other graph.
POST /_api/gharial/{graph}/edge
Namespace:
ArangoDBNetStandard.GraphApi
Assembly:
ArangoDBNetStandard (in ArangoDBNetStandard.dll) Version: 1.1.0
Syntax Task<PostEdgeDefinitionResponse> PostEdgeDefinitionAsync(
string graphName,
PostEdgeDefinitionBody body
)
Function PostEdgeDefinitionAsync (
graphName As String,
body As PostEdgeDefinitionBody
) As Task(Of PostEdgeDefinitionResponse)
Task<PostEdgeDefinitionResponse^>^ PostEdgeDefinitionAsync(
String^ graphName,
PostEdgeDefinitionBody^ body
)
abstract PostEdgeDefinitionAsync :
graphName : string *
body : PostEdgeDefinitionBody -> Task<PostEdgeDefinitionResponse>
Parameters
- graphName
- Type: SystemString
The name of the graph. - body
- Type: ArangoDBNetStandard.GraphApi.ModelsPostEdgeDefinitionBody
The information of the edge definition.
Return Value
Type:
TaskPostEdgeDefinitionResponseSee Also