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 SourceParameterInfo(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 SourceDbType
Gets the type of the parameter as understood by the database.
Declaration
public DbType DbType { get; }
Property Value
| Type | Description |
|---|---|
| DbType |
Name
Gets the name of the parameter.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Size
Gets the size of the database parameter.
Declaration
public int Size { get; }
Property Value
| Type | Description |
|---|---|
| int |
Value
Gets the value assigned to the parameter.
Declaration
public object? Value { get; }
Property Value
| Type | Description |
|---|---|
| object |