public override void Ready() { if (!objectIsNative) { if (GetQuery() == null) { throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.ContainsQueryWithNoQuery ); } NeoDatis.Odb.Core.Layers.Layer3.IStorageEngine engine = GetQuery().GetStorageEngine (); if (engine == null) { throw new NeoDatis.Odb.ODBRuntimeException(NeoDatis.Odb.Core.NeoDatisError.ContainsQueryWithNoStorageEngine ); } // For non native object, we just need the oid of it oid = engine.GetObjectId(criterionValue, false); this.criterionValue = null; } }
public virtual NeoDatis.Odb.ExternalOID GetObjectExternalOID(object @object) { return(ConvertToExternalOID(engine.GetObjectId(@object, true))); }
public virtual NeoDatis.Odb.OID GetObjectId(object @object) { return(storageEngine.GetObjectId(@object, true)); }