Esempio n. 1
0
        public override QueryResult Execute(IGraphDBSession graphDBSession)
        {
            var result = graphDBSession.Update(_SourceType.TypeName, _Sources, _Condition);
            result.PushIExceptional(ParsingResult);

            return result;
        }
Esempio n. 2
0
 /// <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;
 }