November Happy Hour will be moved to Thursday December 5th.

Class ColumnInformation

Class that contains information for a database column mapping

Inheritance
System.Object
ColumnInformation
Namespace: EPiServer.Data.Dynamic.Providers
Assembly: EPiServer.Data.dll
Version: 12.0.3
Syntax
public class ColumnInformation : Object

Constructors

ColumnInformation()

Declaration
public ColumnInformation()

ColumnInformation(ColumnInformation)

Declaration
protected ColumnInformation(ColumnInformation other)
Parameters
Type Name Description
ColumnInformation other

Properties

DataType

The System.Data.DbType of the column

Declaration
public DbType DataType { get; }
Property Value
Type Description
System.Data.DbType

DbDeclarationType

The database specific declaration type for the column

Declaration
public string DbDeclarationType { get; }
Property Value
Type Description
System.String
Examples

varchar

Indexed

True if column is contained within an index in the database, false if not

Declaration
public bool Indexed { get; }
Property Value
Type Description
System.Boolean

MaxLength

The maximum length of the column

Declaration
public int MaxLength { get; }
Property Value
Type Description
System.Int32

Name

The name of the column

Declaration
public string Name { get; }
Property Value
Type Description
System.String

OwnerTableName

The name of the table this column belongs to

Declaration
public string OwnerTableName { get; }
Property Value
Type Description
System.String

Methods

Clone()

Clone the current object

Declaration
public virtual ColumnInformation Clone()
Returns
Type Description
ColumnInformation

A new ColumnInformation with the same values as the current object

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Extension Methods