Table of Contents

Class SqlParameterBase

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a base parameter.

public abstract class SqlParameterBase : BaseTypeSection, IComparable<SqlParameterBase>
Inheritance
SqlParameterBase
Implements
Derived

Constructors

SqlParameterBase()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlParameterBase class.

public SqlParameterBase()

Properties

DataType

Gets or sets the data type of the parameter.

public SqlInstanceDataType DataType { get; set; }

Property Value

SqlInstanceDataType

DefaultValue

Gets or sets the default value of the parameter.

public string DefaultValue { get; set; }

Property Value

string

Identifier

Gets or sets the unique identifier of the parameter. This is for internal use only.

public Guid Identifier { get; set; }

Property Value

Guid

Name

Gets or sets the name of the parameter.

public string Name { get; set; }

Property Value

string

Methods

CompareTo(SqlParameterBase)

Compares two CENTREL.XIA.Configuration.Types.SqlParameterBase objects to allow sorting alphabetically by name.

public int CompareTo(SqlParameterBase other)

Parameters

other SqlParameterBase

The CENTREL.XIA.Configuration.Types.SqlParameterBase to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.SqlParameterBase objects.