/// <summary> /// Generates a property query plan /// </summary> /// <param name="myPropertyExpression">The property expression that is going to be transfered</param> /// <param name="myTransaction">The current transaction token</param> /// <param name="mySecurity">The current security token</param> /// <returns>A property query plan</returns> private IQueryPlan GenerateFromPropertyExpression(PropertyExpression myPropertyExpression, Int64 myTransaction, SecurityToken mySecurity) { var type = _vertexTypeManager.ExecuteManager.GetType(myPropertyExpression.NameOfVertexType, myTransaction, mySecurity); return new QueryPlanProperty(type, type.GetPropertyDefinition(myPropertyExpression.NameOfProperty), myPropertyExpression.Edition, myPropertyExpression.Timespan); }
/// <summary> /// Generators a property plan /// </summary> /// <param name="propertyExpression">The property expression that is going to be transfered</param> /// <returns>A Property query plan</returns> private QueryPlanProperty GenerateQueryPlanProperty(PropertyExpression propertyExpression, Int64 myTransaction, SecurityToken mySecurity) { IVertexType type = null; type = _vertexTypeManager.ExecuteManager.GetType(propertyExpression.NameOfVertexType, myTransaction, mySecurity); var property = type.GetPropertyDefinition(propertyExpression.NameOfProperty); return new QueryPlanProperty(type, property, propertyExpression.Edition, propertyExpression.Timespan); }
internal ServicePropertyExpression(PropertyExpression myExpression) { this.Edition = myExpression.Edition; this.NameOfProperty = myExpression.NameOfProperty; this.NameOfVertexType = myExpression.NameOfVertexType; }