Example #1
0
 public int Execute(Transaction txn, Results toModify, QueryContext context, UpdateContext uc)
 {
     return (int) this.mod_.execute(Transaction.ToInternal(txn), Results.ToInternal(toModify), QueryContext.ToInternal(context), UpdateContext.ToInternal(uc));
 }
Example #2
0
 internal static XmlResults ToInternal(Results v)
 {
     if (v == null)
     {
         return null;
     }
     return v.Internal;
 }
Example #3
0
 public Results GetAllDocuments(Transaction txn, DocumentConfig config)
 {
     return(Results.Create(this.cont_.getAllDocuments(Transaction.ToInternal(txn), config.Flags)));
 }
Example #4
0
 public Results LookupIndex(Transaction txn, QueryContext context, IndexSpecification.Entry entry, string parent_uri, string parent_name, Value value, DocumentConfig config)
 {
     return(Results.Create(this.cont_.lookupIndex(Transaction.ToInternal(txn), QueryContext.ToInternal(context), entry.URI, entry.Name, parent_uri, parent_name, entry.Index, Value.ToInternal(value), config.Flags)));
 }
Example #5
0
 public Results Execute(Transaction txn, Value contextItem, QueryContext context, DocumentConfig config)
 {
     return(Results.Create(this.qe_.execute(Transaction.ToInternal(txn), Value.ToInternal(contextItem), QueryContext.ToInternal(context), config.Flags)));
 }
Example #6
0
 public int Execute(Transaction txn, Results toModify, QueryContext context, UpdateContext uc)
 {
     return((int)this.mod_.execute(Transaction.ToInternal(txn), Results.ToInternal(toModify), QueryContext.ToInternal(context), UpdateContext.ToInternal(uc)));
 }