public override IQueryResult Execute(IGraphDB myGraphDB, IGraphQL myGraphQL, GQLPluginManager myPluginManager, String myQuery, SecurityToken mySecurityToken, Int64 myTransactionToken) { _query = myQuery; IQueryResult result; try { result = myGraphDB.CreateEdgeTypes <IQueryResult>( mySecurityToken, myTransactionToken, new RequestCreateEdgeTypes(_TypePredefinitions), CreateQueryResult); } catch (ASonesException e) { result = new QueryResult(_query, SonesGQLConstants.GQL, 0, ResultType.Failed, null, e); } return(result); }
public TResult CreateEdgeTypes <TResult>(sones.Library.Commons.Security.SecurityToken mySecurityToken, Int64 myTransactionToken, RequestCreateEdgeTypes myRequestCreateEdgeTypes, Converter.CreateEdgeTypesResultConverter <TResult> myOutputconverter) { return(_iGraphDB.CreateEdgeTypes <TResult>( mySecurityToken, myTransactionToken, myRequestCreateEdgeTypes, myOutputconverter)); }
public override IQueryResult Execute(IGraphDB myGraphDB, IGraphQL myGraphQL, GQLPluginManager myPluginManager, String myQuery, SecurityToken mySecurityToken, Int64 myTransactionToken) { _query = myQuery; IQueryResult result; try { result = myGraphDB.CreateEdgeTypes<IQueryResult>( mySecurityToken, myTransactionToken, new RequestCreateEdgeTypes(_TypePredefinitions), CreateQueryResult); } catch (ASonesException e) { result = new QueryResult(_query, SonesGQLConstants.GQL, 0, ResultType.Failed, null, e); } return result; }