Class MySqlOptions
- Namespace
- LinqToDB.DataProvider.MySql
- Assembly
- linq2db.dll
public sealed record MySqlOptions : DataProviderOptions<MySqlOptions>, IOptionSet, IConfigurationID, IEquatable<DataProviderOptions<MySqlOptions>>, IEquatable<MySqlOptions>
- Inheritance
-
MySqlOptions
- Implements
- Inherited Members
- Extension Methods
Constructors
MySqlOptions()
public MySqlOptions()
MySqlOptions(BulkCopyType)
public MySqlOptions(BulkCopyType BulkCopyType = BulkCopyType.MultipleRows)
Parameters
BulkCopyTypeBulkCopyTypeDefault bulk copy mode, used for MySql by BulkCopy<T>(DataConnection, IEnumerable<T>) methods, if mode is not specified explicitly. Default value: MultipleRows.
Methods
CreateID(IdentifierBuilder)
protected override IdentifierBuilder CreateID(IdentifierBuilder builder)
Parameters
builderIdentifierBuilder
Returns
Equals(MySqlOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(MySqlOptions? other)
Parameters
otherMySqlOptionsAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
otherparameter; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()