Class ColumnInformation
Class that contains information for a database column mapping
Inheritance
System.Object
    ColumnInformation
  Inherited Members
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: EPiServer.Data.Dynamic.Providers
Assembly: EPiServer.Data.dll
Version: 11.20.7Syntax
public class ColumnInformationConstructors
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 | 
Overrides
System.Object.Equals(System.Object)
  
  
  
  GetHashCode()
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
System.Object.GetHashCode()
  