Return a constant value
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
| C# |
|---|
public static IProjection Constant( Object obj, IType type ) |
| Visual Basic |
|---|
Public Shared Function Constant ( _ obj As Object, _ type As IType _ ) As IProjection |
| Visual C++ |
|---|
public: static IProjection^ Constant( Object^ obj, IType^ type ) |
Parameters
- obj
- Type: System..::..Object
The obj.
- type
- Type: NHibernate.Type..::..IType
[Missing <param name="type"/> documentation for "M:NHibernate.Criterion.Projections.Constant(System.Object,NHibernate.Type.IType)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Criterion.Projections.Constant(System.Object,NHibernate.Type.IType)"]