Initializes a new instance of the ConstantProjection class

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

Syntax

C#
public ConstantProjection(
	Object value,
	IType type
)
Visual Basic
Public Sub New ( _
	value As Object, _
	type As IType _
)
Visual C++
public:
ConstantProjection(
	Object^ value, 
	IType^ type
)

Parameters

value
Type: System..::..Object

[Missing <param name="value"/> documentation for "M:NHibernate.Criterion.ConstantProjection.#ctor(System.Object,NHibernate.Type.IType)"]

type
Type: NHibernate.Type..::..IType

[Missing <param name="type"/> documentation for "M:NHibernate.Criterion.ConstantProjection.#ctor(System.Object,NHibernate.Type.IType)"]

See Also