Chili.Opf3 Send comments on this topic.
Create(ObjectContext,Generic IList) Method
See Also 
Chili.Opf3 Namespace > Generic ObjectReader Class > Create Method : Create(ObjectContext,Generic IList) Method




context
The ObjectContext associated with the reader.
objects
The list of objects enumerated by the reader.
Creates a new instance of the ObjectReader Class. This instance is usually required when implementing own caching strategies.

Syntax

Visual Basic (Declaration) 
Overloads Public Shared Function Create( _
   ByVal context As ObjectContext, _
   ByVal objects As IList(Of T) _
) As ObjectReader(Of T)
Visual Basic (Usage)Copy Code
Dim context As ObjectContext
Dim objects As IList(Of T)
Dim value As ObjectReader(Of T)
 
value = ObjectReader(Of T).Create(context, objects)
C# 
public static ObjectReader<T> Create( 
   ObjectContext context,
   IList<T> objects
)
Managed Extensions for C++ 
public: static ObjectReader<T>* Create( 
   ObjectContext* context,
   IList<T>* objects
) 
C++/CLI 
public:
static ObjectReader<T>^ Create( 
   ObjectContext^ context,
   IList<T>^ objects
) 

Parameters

context
The ObjectContext associated with the reader.
objects
The list of objects enumerated by the reader.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also