Search Results for

    Show / Hide Table of Contents

    Struct SpecialDbType

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

    Namespace: Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations
    Assembly: cs.temp.dll.dll
    Syntax
    public struct SpecialDbType : IEquatable<SpecialDbType>

    Constructors

    SpecialDbType(String)

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

    SpecialDbType(SpecialDbTypes)

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

    Properties

    NCHAR

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

    NTEXT

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

    NVARCHARMAX

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

    Methods

    Equals(Object)

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

    Equals(SpecialDbType)

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

    GetHashCode()

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

    ToString()

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

    Operators

    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

    Implicit(SpecialDbType to String)

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

    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
    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