예제 #1
0
파일: MetaData.cs 프로젝트: skitsanos/WDK9
 public MetaData(string uri, string name, Sleepycat.DbXml.Value value)
 {
     this.uri_ = uri;
     this.name_ = name;
     this.value_ = value;
     this.valueOwned_ = false;
 }
예제 #2
0
파일: Manager.cs 프로젝트: skitsanos/WDK9
 public Manager(Sleepycat.Db.Environment env, ManagerConfig config)
 {
     if (config.AdoptEnvironment)
     {
         env.Disown();
     }
     this.mgr_ = new XmlManager(env.Internal, config.Flags);
 }
예제 #3
0
파일: Manager.cs 프로젝트: skitsanos/WDK9
 public void RegisterResolver(Sleepycat.DbXml.Resolver resolver)
 {
     this.mgr_.registerResolver(resolver.Internal);
 }
예제 #4
0
파일: Manager.cs 프로젝트: skitsanos/WDK9
 public Manager(Sleepycat.Db.Environment env)
     : this(env, new ManagerConfig())
 {
 }
예제 #5
0
 internal static int ReturnTypeToInt(Sleepycat.DbXml.ReturnType rt)
 {
     if (rt == Sleepycat.DbXml.ReturnType.LiveValues)
     {
         return XmlQueryContext.LiveValues;
     }
     return XmlQueryContext.DeadValues;
 }
예제 #6
0
 internal static int EvaluationTypeToInt(Sleepycat.DbXml.EvaluationType et)
 {
     if (et == Sleepycat.DbXml.EvaluationType.Lazy)
     {
         return XmlQueryContext.Lazy;
     }
     return XmlQueryContext.Eager;
 }