Create a new ICriteria instance, for the given entity name.
Namespace: NHibernateAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
ICriteria CreateCriteria( string entityName ) |
Visual Basic |
---|
Function CreateCriteria ( _ entityName As String _ ) As ICriteria |
Visual C++ |
---|
ICriteria^ CreateCriteria( String^ entityName ) |
Parameters
- entityName
- Type: System..::..String
The entity name.
Return Value
The ICriteria.Remarks
Entities returned by the query are detached.