public ODBAdapter(NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine storageEngine) :
     base()
 {
     this.storageEngine     = storageEngine;
     this.classIntrospector = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClassIntrospector
                                  ();
 }
Exemple #2
0
 public DefaultClassRepresentation(NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine
                                   storageEngine, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo classInfo) : base(
         )
 {
     this.storageEngine     = storageEngine;
     this.classInfo         = classInfo;
     this.classIntrospector = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClassIntrospector
                                  ();
 }
Exemple #3
0
 public MultiFieldComparator(string[] names, NeoDatis.Odb.Core.OrderByConstants orderByType
                             )
 {
     this.fieldNames        = names;
     map                    = new System.Collections.Hashtable();
     this.way               = orderByType.IsOrderByAsc() ? 1 : -1;
     this.classIntrospector = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClassIntrospector
                                  ();
 }
		public DefaultClassRepresentation(NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine 
			storageEngine, NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo classInfo) : base(
			)
		{
			this.storageEngine = storageEngine;
			this.classInfo = classInfo;
			this.classIntrospector = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClassIntrospector
				();
		}
		public MultiFieldComparator(string[] names, NeoDatis.Odb.Core.OrderByConstants orderByType
			)
		{
			this.fieldNames = names;
			map = new System.Collections.Hashtable();
			this.way = orderByType.IsOrderByAsc() ? 1 : -1;
			this.classIntrospector = NeoDatis.Odb.OdbConfiguration.GetCoreProvider().GetClassIntrospector
				();
		}
		public AbstractObjectWriter(NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine engine
			)
		{
			// public ISession session;
			// Just for display matters
			this.storageEngine = engine;
			this.objectReader = storageEngine.GetObjectReader();
			this.isLocalMode = this.storageEngine.IsLocal();
			NeoDatis.Odb.Core.ICoreProvider provider = NeoDatis.Odb.OdbConfiguration.GetCoreProvider
				();
			this.byteArrayConverter = provider.GetByteArrayConverter();
			this.classIntrospector = provider.GetClassIntrospector();
			NativeHeaderBlockSizeByte = byteArrayConverter.IntToByteArray(NativeHeaderBlockSize
				);
			comparator = new NeoDatis.Odb.Impl.Core.Layers.Layer2.Meta.Compare.ObjectInfoComparator
				();
		}