コード例 #1
0
ファイル: CreateTypesNode.cs プロジェクト: TheByte/sones
 /// <summary>
 /// Executes the statement
 /// </summary>
 /// <param name="graphDBSession">The DBSession to start new transactions</param>
 /// <param name="dbContext">The current dbContext inside an readonly transaction. For any changes, you need to start a new transaction using <paramref name="graphDBSession"/></param>
 /// <returns>The result of the query</returns>
 public override QueryResult Execute(IGraphDBSession graphDBSession)
 {
     var qresult = graphDBSession.CreateTypes(_TypeDefinitions);
     qresult.PushIExceptional(ParsingResult);
     return qresult;
 }