Some databases use limit row offsets that start at one instead of zero. This method adjusts a desired offset using the OffsetStartsAtOne flag.

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

Syntax

C#
public int GetOffsetValue(
	int offset
)
Visual Basic
Public Function GetOffsetValue ( _
	offset As Integer _
) As Integer
Visual C++
public:
int GetOffsetValue(
	int offset
)

Parameters

offset
Type: System..::..Int32

[Missing <param name="offset"/> documentation for "M:NHibernate.Dialect.Dialect.GetOffsetValue(System.Int32)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Dialect.Dialect.GetOffsetValue(System.Int32)"]

See Also