Search Results for

    Show / Hide Table of Contents

    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 MySQLCharsetAttribute class.

    Declaration
    public MySQLCharsetAttribute(string charset)
    Parameters
    Type Name Description
    System.String charset

    Character set to use.

    Properties

    Charset

    Character set to use for the attribute.

    Declaration
    public string Charset { get; }
    Property Value
    Type Description
    System.String
    In This Article
    • Constructors
      • MySQLCharsetAttribute(String)
    • Properties
      • Charset
    Back to top Copyright © 2021, 2025, Oracle and/or its affiliates.