A SQLFunction implementation that emulates the ANSI SQL trim function on dialects which do not support the full definition. However, this function definition does assume the availability of ltrim, rtrim, and replace functions which it uses in various combinations to emulate the desired ANSI trim() functionality.

Namespace: NHibernate.Dialect.Function
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
[SerializableAttribute]
public class AnsiTrimEmulationFunction : ISQLFunction, 
	IFunctionGrammar
Visual Basic
<SerializableAttribute> _
Public Class AnsiTrimEmulationFunction _
	Implements ISQLFunction, IFunctionGrammar
Visual C++
[SerializableAttribute]
public ref class AnsiTrimEmulationFunction : ISQLFunction, 
	IFunctionGrammar

Inheritance Hierarchy

System..::..Object
  NHibernate.Dialect.Function..::..AnsiTrimEmulationFunction

See Also