Table of Contents

Class OdfDatabaseQueryParameter

Namespace
OdfKit.Database
Assembly
OdfKit.dll

Describes one practical database query parameter. 描述一個實務資料庫查詢參數。

public sealed record OdfDatabaseQueryParameter : IEquatable<OdfDatabaseQueryParameter>
Inheritance
OdfDatabaseQueryParameter
Implements
Inherited Members

Constructors

OdfDatabaseQueryParameter(string, string, string?)

Describes one practical database query parameter. 描述一個實務資料庫查詢參數。

public OdfDatabaseQueryParameter(string Name, string Type, string? Description = null)

Parameters

Name string

The parameter name. / 參數名稱。

Type string

The parameter type hint. / 參數型別提示。

Description string

The optional parameter description. / 選用參數描述。

Properties

Description

The optional parameter description. / 選用參數描述。

public string? Description { get; init; }

Property Value

string

Name

The parameter name. / 參數名稱。

public string Name { get; init; }

Property Value

string

Type

The parameter type hint. / 參數型別提示。

public string Type { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string, out string?)

public void Deconstruct(out string Name, out string Type, out string? Description)

Parameters

Name string
Type string
Description string

Equals(OdfDatabaseQueryParameter?)

public bool Equals(OdfDatabaseQueryParameter? other)

Parameters

other OdfDatabaseQueryParameter

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(OdfDatabaseQueryParameter?, OdfDatabaseQueryParameter?)

public static bool operator ==(OdfDatabaseQueryParameter? left, OdfDatabaseQueryParameter? right)

Parameters

left OdfDatabaseQueryParameter
right OdfDatabaseQueryParameter

Returns

bool

operator !=(OdfDatabaseQueryParameter?, OdfDatabaseQueryParameter?)

public static bool operator !=(OdfDatabaseQueryParameter? left, OdfDatabaseQueryParameter? right)

Parameters

left OdfDatabaseQueryParameter
right OdfDatabaseQueryParameter

Returns

bool