Skip to content

FilterConditionDto ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models.Dtos

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Represents a single filter condition.

public

Contents ​

Constructors (1) | Methods (6) | Properties (3)

Constructors ​

FilterConditionDto ​

csharp
FilterConditionDto()

Methods ​

MethodSummary
ToSqlOperatorConverts the operator to SQL.
RequiresValueDetermines if this operator requires a value.
GetType
ToString
Equals
GetHashCode

ToSqlOperator ​

Converts the operator to SQL.

csharp
string ToSqlOperator()

Returns ​

Type: string

The SQL operator string.

RequiresValue ​

Determines if this operator requires a value.

csharp
bool RequiresValue()

Returns ​

Type: bool

True if the operator requires a value; otherwise, false.

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Column ​

Gets or sets the column name to filter on.

Type: string

Operator ​

Gets or sets the filter operator (eq, neq, gt, gte, lt, lte, like, nlike, in, nin, isnull, notnull).

Type: string

Value ​

Gets or sets the filter value.

Type: string?