Class CharacterSet

Namespace
DbExport.Providers.MySql
Assembly
DbExport.Api.dll

Represents a MySQL character set, including its name, supported collations, and default collation.

public sealed class CharacterSet
Inheritance
CharacterSet
Inherited Members

Constructors

CharacterSet(string, string[], string)

Represents a MySQL character set, including its name, supported collations, and default collation.

public CharacterSet(string name, string[] collations, string defaultCollation)

Parameters

name string

The name of the character set.

collations string[]

An array of supported collations for the character set.

defaultCollation string

The default collation for the character set.

Properties

Collations

An array of supported collations for the character set.

public string[] Collations { get; }

Property Value

string[]

DefaultCollation

The default collation for the character set.

public string DefaultCollation { get; }

Property Value

string

Name

The name of the character set.

public string Name { get; }

Property Value

string

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.