public virtual NeoDatis.Odb.Objects <T> GetObjectInfos <T>(NeoDatis.Odb.Core.Query.IQuery
                                                            query, bool inMemory, int startIndex, int endIndex, bool returnObjects)
 {
     NeoDatis.Odb.Core.Query.Execution.IMatchingObjectAction queryResultAction = provider
                                                                                 .GetCollectionQueryResultAction(this, query, inMemory, returnObjects);
     return(objectReader.GetObjectInfos <T>(query, inMemory, startIndex, endIndex, returnObjects
                                            , queryResultAction));
 }
Ejemplo n.º 2
0
 /// <summary>TODO Use a mutex to guarantee unique access to the file at this moment.</summary>
 /// <remarks>
 /// TODO Use a mutex to guarantee unique access to the file at this moment.
 /// This should be change
 /// </remarks>
 /// <param name="query"></param>
 /// <param name="inMemory"></param>
 /// <param name="startIndex"></param>
 /// <param name="endIndex"></param>
 /// <param name="returnOjects"></param>
 /// <returns>The object info list</returns>
 /// <exception cref="System.Exception">System.Exception</exception>
 public override NeoDatis.Odb.Objects <T> GetObjectInfos <T>(NeoDatis.Odb.Core.Query.IQuery
                                                             query, bool inMemory, int startIndex, int endIndex, bool returnOjects)
 {
     try
     {
         NeoDatis.Odb.Core.Layers.Layer3.IObjectReader           reader            = GetObjectReader();
         NeoDatis.Odb.Core.Query.Execution.IMatchingObjectAction queryResultAction = new NeoDatis.Odb.Impl.Core.Query.Criteria.CollectionQueryResultAction <T>
                                                                                         (query, inMemory, this, returnOjects, reader.GetInstanceBuilder());
         return(reader.GetObjectInfos <T>(query, inMemory, startIndex, endIndex, returnOjects,
                                          queryResultAction));
     }
     finally
     {
     }
 }