C# Class NHibernate.Dialect.Function.CharIndexFunction

Emulation of locate() on Sybase
Inheritance: ISQLFunction
Mostra file Open project: nhibernate/nhibernate-core

Public Methods

Method Description
CharIndexFunction ( ) : System
Render ( IList args, ISessionFactoryImplementor factory ) : SqlString
ReturnType ( IType columnType, IMapping mapping ) : IType

Private Methods

Method Description
RenderPositionInSubstring ( SqlStringBuilder buf, object pattern, object orgString, object start ) : void

Method Details

CharIndexFunction() public method

public CharIndexFunction ( ) : System
return System

Render() public method

public Render ( IList args, ISessionFactoryImplementor factory ) : SqlString
args IList
factory ISessionFactoryImplementor
return SqlString

ReturnType() public method

public ReturnType ( IType columnType, IMapping mapping ) : IType
columnType IType
mapping IMapping
return IType