예제 #1
0
파일: UnlinkNode.cs 프로젝트: TheByte/sones
        public override QueryResult Execute(IGraphDBSession graphDBSession)
        {
            var result = graphDBSession.Update(_SourceType.TypeName, _Sources, _Condition);
            result.PushIExceptional(ParsingResult);

            return result;
        }
예제 #2
0
파일: UpdateNode.cs 프로젝트: TheByte/sones
 /// <summary>
 /// Executes the statement
 /// </summary>
 /// <param name="myIGraphDBSession">The DBSession to start new transactions</param>
 /// <param name="myDBContext">The current dbContext inside an readonly transaction. For any changes, you need to start a new transaction using <paramref name="myIGraphDBSession"/></param>
 /// <returns>The result of the query</returns>
 public override QueryResult Execute(IGraphDBSession myIGraphDBSession)
 {
     var qresult = myIGraphDBSession.Update(_TypeName, _listOfUpdates, _WhereExpression);
     qresult.PushIExceptional(ParsingResult);
     return qresult;
 }