Create a new instance, which includes all non-null properties by default

Namespace:  NHibernate.Expression
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function Create ( _
	entity As Object _
) As Example
C#
public static Example Create(
	Object entity
)
Visual C++
public:
static Example^ Create(
	Object^ entity
)
JavaScript
NHibernate.Expression.Example.create = function(entity);

Parameters

entity
Type: System..::.Object

Return Value

A new instance of Example.

See Also