public int AddVertex(VertexSpecification definition) { #region initial checks if (definition == null) { throw new ArgumentNullException("definition"); } #endregion return(_fallen8.CreateVertex(definition.CreationDate, ServiceHelper.GenerateProperties(definition.Properties)).Id); }
public int AddEdge(EdgeSpecification definition) { #region initial checks if (definition == null) { throw new ArgumentNullException("definition"); } #endregion return (_fallen8.CreateEdge(definition.SourceVertex, definition.EdgePropertyId, definition.TargetVertex, definition.CreationDate, ServiceHelper.GenerateProperties(definition.Properties)).Id); }