Assembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Function Render ( _ args As IList, _ factory As ISessionFactoryImplementor _ ) As String |
C# |
---|
public string Render( IList args, ISessionFactoryImplementor factory ) |
Visual C++ |
---|
public: virtual String^ Render( IList^ args, ISessionFactoryImplementor^ factory ) sealed |
JavaScript |
---|
function render(args, factory); |
Parameters
- args
- Type: System.Collections..::.IList
- factory
- Type: NHibernate.Engine..::.ISessionFactoryImplementor
Return Value
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