Exemplo n.º 1
0
        public ServiceVertexInstance Insert(SecurityToken mySecurityToken, Int64 myTransactionToken, String myVertexTypeName,
                                            ServiceInsertPayload myPayload)
        {
            var Request  = ServiceRequestFactory.MakeRequestInsertVertex(myVertexTypeName, myPayload);
            var Response = this.GraphDS.Insert <IVertex>(mySecurityToken, myTransactionToken, Request,
                                                         ServiceReturnConverter.ConvertOnlyVertexInstance);

            return(new ServiceVertexInstance(Response));
        }