Project SQL function coalesce()
Note: throws an exception outside of a QueryOver expression
Namespace: NHibernate.CriterionAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public static T Coalesce<T>( this T objectProperty, T replaceValueIfIsNull ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function Coalesce(Of T) ( _ objectProperty As T, _ replaceValueIfIsNull As T _ ) As T |
Visual C++ |
---|
[ExtensionAttribute] public: generic<typename T> static T Coalesce( T objectProperty, T replaceValueIfIsNull ) |
Parameters
- objectProperty
- Type: T
[Missing <param name="objectProperty"/> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.Coalesce``1(``0,``0)"]
- replaceValueIfIsNull
- Type: T
[Missing <param name="replaceValueIfIsNull"/> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.Coalesce``1(``0,``0)"]
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.Coalesce``1(``0,``0)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.Coalesce``1(``0,``0)"]