Esempio n. 1
0
 public static RequestCreateIndex MakeRequestCreateIndex(ServiceIndexPredefinition myIndexPreDef)
 {
     return new RequestCreateIndex(myIndexPreDef.ToIndexPredefinition());
 }
Esempio n. 2
0
 public ServiceIndexDefinition CreateIndex(SecurityToken mySecurityToken, Int64 myTransactionToken, ServiceIndexPredefinition myVertexTypePreDef)
 {
     var Request = ServiceRequestFactory.MakeRequestCreateIndex(myVertexTypePreDef);
     var Response = this.GraphDS.CreateIndex<IIndexDefinition>(mySecurityToken, myTransactionToken, Request,
         ServiceReturnConverter.ConverteOnlyIndexDefinition);
     return new ServiceIndexDefinition(Response);
 }