Class MySQLCharsetAttribute
Establishes the character set of an entity property.
Inheritance
System.Object
System.Attribute
MySQLCharsetAttribute
Namespace: MySql.EntityFrameworkCore.DataAnnotations
Assembly: MySql.EntityFrameworkCore.dll
Version: 9.3.0
Syntax
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field)]
public class MySQLCharsetAttribute : Attribute
Constructors
MySQLCharsetAttribute(String)
Initializes a new instance of the My
Declaration
public MySQLCharsetAttribute(string charset)
Parameters
Type | Name | Description |
---|---|---|
System. |
charset | Character set to use. |
Properties
Charset
Character set to use for the attribute.
Declaration
public string Charset { get; }
Property Value
Type | Description |
---|---|
System. |