Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoDatabase.ParameterInfo

    Contains metadata about a parameter used in database commands executed by UmbracoDatabase.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Persistence
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class UmbracoDatabase.ParameterInfo
    Remarks

    used for tracking commands

    Constructors

    View Source

    ParameterInfo(IDbDataParameter)

    Initializes a new instance of the UmbracoDatabase.ParameterInfo class, wrapping the specified System.Data.IDbDataParameter.

    Declaration
    public ParameterInfo(IDbDataParameter parameter)
    Parameters
    Type Name Description
    IDbDataParameter parameter

    The System.Data.IDbDataParameter to be wrapped by this UmbracoDatabase.ParameterInfo instance.

    Properties

    View Source

    DbType

    Gets the type of the parameter as understood by the database.

    Declaration
    public DbType DbType { get; }
    Property Value
    Type Description
    DbType
    View Source

    Name

    Gets the name of the parameter.

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string
    View Source

    Size

    Gets the size of the database parameter.

    Declaration
    public int Size { get; }
    Property Value
    Type Description
    int
    View Source

    Value

    Gets the value assigned to the parameter.

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