Search Results for

    Show / Hide Table of Contents
    View Source

    Class SpecialDbTypeAttribute

    Attribute that represents the usage of a special type

    Inheritance
    object
    Attribute
    Namespace: Umbraco.Cms.Infrastructure.Persistence.DatabaseAnnotations
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public class SpecialDbTypeAttribute : Attribute
    Remarks

    Should only be used when the .NET type can't be directly translated to a DbType.

    Constructors

    View Source

    SpecialDbTypeAttribute(string)

    Declaration
    public SpecialDbTypeAttribute(string databaseType)
    Parameters
    Type Name Description
    string databaseType
    View Source

    SpecialDbTypeAttribute(SpecialDbTypes)

    Declaration
    public SpecialDbTypeAttribute(SpecialDbTypes databaseType)
    Parameters
    Type Name Description
    SpecialDbTypes databaseType

    Properties

    View Source

    DatabaseType

    Gets or sets the SpecialDbType for this column

    Declaration
    public SpecialDbType DatabaseType { get; }
    Property Value
    Type Description
    SpecialDbType
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX