Search Results for

    Show / Hide Table of Contents
    View Source

    Struct SpecialDbType

    Allows for specifying custom DB types that are not natively mapped.

    Namespace: Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public struct SpecialDbType

    Constructors

    View Source

    SpecialDbType(String)

    Declaration
    public SpecialDbType(string dbType)
    Parameters
    Type Name Description
    System.String dbType
    View Source

    SpecialDbType(SpecialDbTypes)

    Declaration
    public SpecialDbType(SpecialDbTypes specialDbTypes)
    Parameters
    Type Name Description
    SpecialDbTypes specialDbTypes

    Properties

    View Source

    NCHAR

    Declaration
    public static readonly SpecialDbType NCHAR { get; }
    Property Value
    Type Description
    SpecialDbType
    View Source

    NTEXT

    Declaration
    public static readonly SpecialDbType NTEXT { get; }
    Property Value
    Type Description
    SpecialDbType
    View Source

    NVARCHARMAX

    Declaration
    public static readonly SpecialDbType NVARCHARMAX { get; }
    Property Value
    Type Description
    SpecialDbType

    Methods

    View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    View Source

    Equals(SpecialDbType)

    Declaration
    public bool Equals(SpecialDbType other)
    Parameters
    Type Name Description
    SpecialDbType other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    Operators

    View Source

    Equality(SpecialDbTypes, SpecialDbType)

    Declaration
    public static bool operator ==(SpecialDbTypes x, SpecialDbType y)
    Parameters
    Type Name Description
    SpecialDbTypes x
    SpecialDbType y
    Returns
    Type Description
    System.Boolean
    View Source

    Implicit(SpecialDbType to String)

    Declaration
    public static implicit operator string (SpecialDbType dbType)
    Parameters
    Type Name Description
    SpecialDbType dbType
    Returns
    Type Description
    System.String
    View Source

    Inequality(SpecialDbTypes, SpecialDbType)

    Declaration
    public static bool operator !=(SpecialDbTypes x, SpecialDbType y)
    Parameters
    Type Name Description
    SpecialDbTypes x
    SpecialDbType y
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • SpecialDbType(String)
      • SpecialDbType(SpecialDbTypes)
    • Properties
      • NCHAR
      • NTEXT
      • NVARCHARMAX
    • Methods
      • Equals(Object)
      • Equals(SpecialDbType)
      • GetHashCode()
      • ToString()
    • Operators
      • Equality(SpecialDbTypes, SpecialDbType)
      • Implicit(SpecialDbType to String)
      • Inequality(SpecialDbTypes, SpecialDbType)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX