[Missing <summary> documentation for "M:NHibernate.Dialect.Function.AnsiTrimEmulationFunction.Render(System.Collections.IList,NHibernate.Engine.ISessionFactoryImplementor)"]
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
C# |
---|
public SqlString Render( IList args, ISessionFactoryImplementor factory ) |
Visual Basic |
---|
Public Function Render ( _ args As IList, _ factory As ISessionFactoryImplementor _ ) As SqlString |
Visual C++ |
---|
public: virtual SqlString^ Render( IList^ args, ISessionFactoryImplementor^ factory ) sealed |
Parameters
- args
- Type: System.Collections..::..IList
[Missing <param name="args"/> documentation for "M:NHibernate.Dialect.Function.AnsiTrimEmulationFunction.Render(System.Collections.IList,NHibernate.Engine.ISessionFactoryImplementor)"]
- factory
- Type: NHibernate.Engine..::..ISessionFactoryImplementor
[Missing <param name="factory"/> documentation for "M:NHibernate.Dialect.Function.AnsiTrimEmulationFunction.Render(System.Collections.IList,NHibernate.Engine.ISessionFactoryImplementor)"]
Return Value
[Missing <returns> documentation for "M:NHibernate.Dialect.Function.AnsiTrimEmulationFunction.Render(System.Collections.IList,NHibernate.Engine.ISessionFactoryImplementor)"]
Implements
ISQLFunction..::..Render(IList, ISessionFactoryImplementor)Remarks
according to both the ANSI-SQL and EJB3 specs, trim can either take
exactly one parameter or a variable number of parameters between 1 and 4.
from the SQL spec:
<trim function> ::=
TRIM <left paren> <trim operands> <right paren>
<trim operands> ::=
[ [ <trim specification> ] [ <trim character> ] FROM ] <trim source>
<trim specification> ::=
LEADING
| TRAILING
| BOTH
If only trim specification is omitted, BOTH is assumed;
if trim character is omitted, space is assumed