TopModifier

Represents a TOP modifier for a SELECT clause

Namespace:
Inetdev.Data.Query
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Inetdev.Data.Query.Modifier

Constructors

TopModifier

Default constructor

Signature:
public Void TopModifier()

TopModifier

Initializes a new instance of TopModifier.

Signature:
public Void TopModifier(expression)
Parameters
Name Type Summary
expression Int32 The expression for the TOP keyword

TopModifier

Initializes a new instance of TopModifier.

Signature:
public Void TopModifier(expression, percent)
Parameters
Name Type Summary
expression Int32 The expression for the TOP keyword
percent Boolean Indicates if the percent option should be used

Properties

Expression

Get or set the expression for the top clause

Signature:
public Int32 Expression { get; set; }

IsPercent

Get or ser whether the top clause aplies a percent filter

Signature:
public Boolean IsPercent { get; set; }