Exemple #1
0
 public InstanceBuilder(IStorageEngine engine)
 {
     this.triggerManager    = OdbConfiguration.GetCoreProvider().GetLocalTriggerManager(engine);
     this.classIntrospector = OdbConfiguration.GetCoreProvider().GetClassIntrospector();
     this.classPool         = OdbConfiguration.GetCoreProvider().GetClassPool();
     this.engine            = engine;
 }
		public InstanceBuilder(IStorageEngine engine)
		{
			this.triggerManager = OdbConfiguration.GetCoreProvider().GetLocalTriggerManager(engine);
			this.classIntrospector = OdbConfiguration.GetCoreProvider().GetClassIntrospector();
			this.classPool = OdbConfiguration.GetCoreProvider().GetClassPool();
			this.engine = engine;
		}
		public virtual void Init2()
		{
			byteArrayConverter.Init2();
			if (OsIsAndroid())
			{
				// One feature is currently not supported on Android : dynamic empty
				// constructor creation
				classIntrospector = new AndroidClassIntrospector();
			}
			else
			{
				classIntrospector = new DefaultClassIntrospector();
			}
			classIntrospector.Init2();
			sessionManager.Init2();
		}
 public virtual void Init2()
 {
     byteArrayConverter.Init2();
     if (OsIsAndroid())
     {
         // One feature is currently not supported on Android : dynamic empty
         // constructor creation
         classIntrospector = new AndroidClassIntrospector();
     }
     else
     {
         classIntrospector = new DefaultClassIntrospector();
     }
     classIntrospector.Init2();
     sessionManager.Init2();
 }