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.3Syntax
public class ColumnInformation : Object
Constructors
ColumnInformation()
Declaration
public ColumnInformation()
ColumnInformation(ColumnInformation)
Declaration
protected ColumnInformation(ColumnInformation other)
Parameters
Type | Name | Description |
---|---|---|
Column |
other |
Properties
DataType
The System.
Declaration
public DbType DataType { get; }
Property Value
Type | Description |
---|---|
System. |
DbDeclarationType
The database specific declaration type for the column
Declaration
public string DbDeclarationType { get; }
Property Value
Type | Description |
---|---|
System. |
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. |
MaxLength
The maximum length of the column
Declaration
public int MaxLength { get; }
Property Value
Type | Description |
---|---|
System. |
Name
The name of the column
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System. |
OwnerTableName
The name of the table this column belongs to
Declaration
public string OwnerTableName { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
Clone()
Clone the current object
Declaration
public virtual ColumnInformation Clone()
Returns
Type | Description |
---|---|
Column |
A new Column |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System. |
obj |
Returns
Type | Description |
---|---|
System. |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |