C# Class VelocityGraph.PropertyType

Inheritance: OptimizedPersistable
Mostra file Open project: VelocityDB/VelocityDB Class Usage Examples

Public Methods

Method Description
GetPropertyEdge ( IComparable value ) : System.Edge

Try to find an Edge with a given property value.

GetPropertyEdges ( IComparable value ) : IEnumerable

Try to find all Edge with a given property value.

GetPropertyValue ( Int32 elementId ) : IComparable

Get property value of a Vertex/Edge

GetPropertyVertex ( IComparable value, bool polymorphic = false, bool errorIfNotFound = true ) : Vertex

Try to find a Vertex with a given property value.

GetPropertyVertices ( IComparable value, bool polymorphic = false ) : IEnumerable

Try to find all Vertex with a given property value.

HasPropertyValue ( Int32 elementId ) : bool

Check if an element has a property value

RemovePropertyValue ( Int32 elementId ) : IComparable

Remove a property value

SetPropertyValue ( Int32 elementId, Int32 typeId, IComparable value ) : void

Sets a property value for an element

Private Methods

Method Description
PropertyType ( bool isVertexProp, Int32 typeId, Int32 propertyId, string name, Graph graph ) : System

Method Details

GetPropertyEdge() abstract public method

Try to find an Edge with a given property value.
abstract public GetPropertyEdge ( IComparable value ) : System.Edge
value IComparable the property value to look for
return System.Edge

GetPropertyEdges() abstract public method

Try to find all Edge with a given property value.
abstract public GetPropertyEdges ( IComparable value ) : IEnumerable
value IComparable the property value to look for
return IEnumerable

GetPropertyValue() abstract public method

Get property value of a Vertex/Edge
abstract public GetPropertyValue ( Int32 elementId ) : IComparable
elementId System.Int32 Id of a Vertex/Edge
return IComparable

GetPropertyVertex() abstract public method

Try to find a Vertex with a given property value.
abstract public GetPropertyVertex ( IComparable value, bool polymorphic = false, bool errorIfNotFound = true ) : Vertex
value IComparable The property value to look for
polymorphic bool If true, also look for property value matching vertices of property sub classes
errorIfNotFound bool If true, signal an error if no matching found
return Vertex

GetPropertyVertices() abstract public method

Try to find all Vertex with a given property value.
abstract public GetPropertyVertices ( IComparable value, bool polymorphic = false ) : IEnumerable
value IComparable The property value to look for
polymorphic bool If true, also look for property value matching vertices of property sub classes
return IEnumerable

HasPropertyValue() abstract public method

Check if an element has a property value
abstract public HasPropertyValue ( Int32 elementId ) : bool
elementId System.Int32 Id of a Vertex/Edge
return bool

RemovePropertyValue() abstract public method

Remove a property value
abstract public RemovePropertyValue ( Int32 elementId ) : IComparable
elementId System.Int32 Id of an edge/vertex
return IComparable

SetPropertyValue() abstract public method

Sets a property value for an element
abstract public SetPropertyValue ( Int32 elementId, Int32 typeId, IComparable value ) : void
elementId System.Int32 Id of a vertex or edge
typeId System.Int32 Id of vertex/edge
value IComparable Value to assign to property
return void