Class Top
OBSOLETE: The TOP operator is obsolete and no longer supported. Use the paging functionality on SoCommand.ExecuteReader instead.
Implements
Inherited Members
Namespace: SuperOffice.Data.SQL
Assembly: SoDataBase.dll
Syntax
public sealed class Top : ResultModification, ICloneable
Constructors
Top(FieldInfo, int)
OBSOLETE: The TOP operator is obsolete and no longer supported. Use the paging functionality on SoCommand.ExecuteReader instead.
Declaration
[Obsolete("The TOP operator is obsolete and no longer supported. Use the paging functionality on SoCommand.ExecuteReader instead.", true)]
public Top(FieldInfo mainField, int numberOfRows)
Parameters
Type | Name | Description |
---|---|---|
FieldInfo | mainField | |
int | numberOfRows |
Methods
Clone()
Clone the query. Parameter values are shared between the original and the clone.
Declaration
public override object Clone()
Returns
Type | Description |
---|---|
object | Copy of the and node and its sub-elements |
Overrides
Remarks
This method is used by the SentryQueryUpdater to modify a query with sentry extensions without affecting the original query.
ToString()
String output.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | UPPER(a) |