Chili.Opf3 Send comments on this topic.
CreatePersistExpression Method
See Also 
Chili.Opf3.Query Namespace > Expression Class : CreatePersistExpression Method




obj
The object that is going to be persisted.
context
The ObjectContext used to persist the object.
Creates and returns an Expression that is used to do a persist of a persistent object.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreatePersistExpression( _
   ByVal obj As Object, _
   ByVal context As ObjectContext _
) As Expression
Visual Basic (Usage)Copy Code
Dim obj As Object
Dim context As ObjectContext
Dim value As Expression
 
value = Expression.CreatePersistExpression(obj, context)
C# 
public static Expression CreatePersistExpression( 
   object obj,
   ObjectContext context
)
Managed Extensions for C++ 
public: static Expression* CreatePersistExpression( 
   Object* obj,
   ObjectContext* context
) 
C++/CLI 
public:
static Expression^ CreatePersistExpression( 
   Object^ obj,
   ObjectContext^ context
) 

Parameters

obj
The object that is going to be persisted.
context
The ObjectContext used to persist the object.

Requirements

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

See Also