Apply a "like" restriction in a QueryOver expression
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 bool IsLike( this string projection, string comparison ) |
Visual Basic |
---|
<ExtensionAttribute> _ Public Shared Function IsLike ( _ projection As String, _ comparison As String _ ) As Boolean |
Visual C++ |
---|
[ExtensionAttribute] public: static bool IsLike( String^ projection, String^ comparison ) |
Parameters
- projection
- Type: System..::..String
[Missing <param name="projection"/> documentation for "M:NHibernate.Criterion.RestrictionExtensions.IsLike(System.String,System.String)"]
- comparison
- Type: System..::..String
[Missing <param name="comparison"/> documentation for "M:NHibernate.Criterion.RestrictionExtensions.IsLike(System.String,System.String)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Criterion.RestrictionExtensions.IsLike(System.String,System.String)"]