Example #1
0
 public static RequestDropVertexType MakeRequestDropVertexType(ServiceVertexType myVertexType)
 {
     RequestDropVertexType Request = new RequestDropVertexType(myVertexType.Name);
     return Request;
 }
Example #2
0
        public TResult DropVertexType <TResult>(sones.Library.Commons.Security.SecurityToken mySecurityToken, long myTransactionID, sones.GraphDB.Request.RequestDropVertexType myRequestDropType, sones.GraphDB.Request.Converter.DropVertexTypeResultConverter <TResult> myOutputconverter)
        {
            Stopwatch RunningTime = Stopwatch.StartNew();
            var       result      = _GraphDSService.DropVertexType(mySecurityToken, myTransactionID, new ServiceVertexType(myRequestDropType.TypeName));

            RunningTime.Stop();
            return(myOutputconverter(new RequestStatistics(new TimeSpan(RunningTime.ElapsedTicks)), result));
        }