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
    string dbType
    View Source

    SpecialDbType(SpecialDbTypes)

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

    Properties

    View Source

    NCHAR

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

    NTEXT

    Declaration
    [Obsolete("Use NVARCHARMAX instead")]
    public static SpecialDbType NTEXT { get; }
    Property Value
    Type Description
    SpecialDbType
    View Source

    NVARCHARMAX

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

    Methods

    View Source

    Equals(object?)

    Indicates whether this instance and a specified object are equal.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current instance.

    Returns
    Type Description
    bool

    true if obj and this instance are the same type and represent the same value; otherwise, false.

    View Source

    Equals(SpecialDbType)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(SpecialDbType other)
    Parameters
    Type Name Description
    SpecialDbType other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    View Source

    GetHashCode()

    Returns the hash code for this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer that is the hash code for this instance.

    View Source

    ToString()

    Returns the fully qualified type name of this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    The fully qualified type name.

    Operators

    View Source

    operator ==(SpecialDbTypes, SpecialDbType)

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

    implicit operator string(SpecialDbType)

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

    operator !=(SpecialDbTypes, SpecialDbType)

    Declaration
    public static bool operator !=(SpecialDbTypes x, SpecialDbType y)
    Parameters
    Type Name Description
    SpecialDbTypes x
    SpecialDbType y
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX