Interface IElement
Represents an element in DSE Graph.
Inherited Members
IEquatable<IElement>.Equals(IElement)
Namespace: Cassandra.DataStax.Graph
Assembly: Cassandra.dll
Syntax
public interface IElement : IEquatable<IElement>
Properties
Id
Gets the identifier as an instance of IGraphNode.
Declaration
IGraphNode Id { get; }
Property Value
Type | Description |
---|---|
IGraphNode |
Label
Gets the label of the element.
Declaration
string Label { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetProperties()
Gets all properties of an element.
Declaration
IEnumerable<IProperty> GetProperties()
Returns
Type | Description |
---|---|
IEnumerable<IProperty> |
GetProperty(string)
Gets a property by name.
Declaration
IProperty GetProperty(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name |
Returns
Type | Description |
---|---|
IProperty |