Initializes a new instance of the DetachedCriteria class

Namespace: NHibernate.Criterion
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
protected DetachedCriteria(
	Type entityType,
	string alias
)
Visual Basic
Protected Sub New ( _
	entityType As Type, _
	alias As String _
)
Visual C++
protected:
DetachedCriteria(
	Type^ entityType, 
	String^ alias
)

Parameters

entityType
Type: System..::..Type

[Missing <param name="entityType"/> documentation for "M:NHibernate.Criterion.DetachedCriteria.#ctor(System.Type,System.String)"]

alias
Type: System..::..String

[Missing <param name="alias"/> documentation for "M:NHibernate.Criterion.DetachedCriteria.#ctor(System.Type,System.String)"]

See Also