public MetaData(string uri, string name, Sleepycat.DbXml.Value value) { this.uri_ = uri; this.name_ = name; this.value_ = value; this.valueOwned_ = false; }
public Manager(Sleepycat.Db.Environment env, ManagerConfig config) { if (config.AdoptEnvironment) { env.Disown(); } this.mgr_ = new XmlManager(env.Internal, config.Flags); }
public void RegisterResolver(Sleepycat.DbXml.Resolver resolver) { this.mgr_.registerResolver(resolver.Internal); }
public Manager(Sleepycat.Db.Environment env) : this(env, new ManagerConfig()) { }
internal static int ReturnTypeToInt(Sleepycat.DbXml.ReturnType rt) { if (rt == Sleepycat.DbXml.ReturnType.LiveValues) { return XmlQueryContext.LiveValues; } return XmlQueryContext.DeadValues; }
internal static int EvaluationTypeToInt(Sleepycat.DbXml.EvaluationType et) { if (et == Sleepycat.DbXml.EvaluationType.Lazy) { return XmlQueryContext.Lazy; } return XmlQueryContext.Eager; }