Exemplo n.º 1
0
        public List <ServiceVertexType> CreateVertexTypes(SecurityToken mySecurityToken, Int64 myTransactionToken,
                                                          List <ServiceVertexTypePredefinition> myVertexTypePreDef)
        {
            var Request  = ServiceRequestFactory.MakeRequestCreateVertexTypes(myVertexTypePreDef);
            var Response = this.GraphDS.CreateVertexTypes <IEnumerable <IVertexType> >(mySecurityToken, myTransactionToken, Request,
                                                                                       ServiceReturnConverter.ConvertOnlyVertexTypes);

            return(Response.Select(x => new ServiceVertexType(x)).ToList());
        }