Class MetaColumn
Inherited Members
Namespace: Telerik.OpenAccess.Metadata.Relational
Assembly: Telerik.OpenAccess.dll
Syntax
public class MetaColumn : MetaItem, IMetadataStatusCallback, IHierarchyMetadata, ICloneable, IComparable, IDataColumn
Constructors
MetaColumn(String, String, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, MetaTable, Boolean, Boolean, Boolean, Nullable<Int32>, String)
Declaration
public MetaColumn(string name, string sqlType, bool? nullable, int? precision, int? scale, MetaTable table, bool primaryKey, bool autoInc, bool isBackendVersion, int? adoType, string description)
Parameters
|
System.String
name
|
|
System.String
sqlType
|
|
System.Nullable<System.Boolean>
nullable
|
|
System.Nullable<System.Int32>
precision
|
|
System.Nullable<System.Int32>
scale
|
|
MetaTable
table
|
|
System.Boolean
primaryKey
|
|
System.Boolean
autoInc
|
|
System.Boolean
isBackendVersion
|
|
System.Nullable<System.Int32>
adoType
|
|
System.String
description
|
MetaColumn(String, MetaTable)
Declaration
public MetaColumn(string name, MetaTable table)
Parameters
|
System.String
name
|
|
MetaTable
table
|
Properties
AdoType
Declaration
public int? AdoType { get; set; }
Property Value
|
System.Nullable<System.Int32>
|
BackingUDT
Converter
Declaration
public string Converter { get; set; }
Property Value
|
System.String
|
HasDefaultValue
Declaration
public bool HasDefaultValue { get; set; }
Property Value
|
System.Boolean
|
IsBackendCalculated
Declaration
public bool IsBackendCalculated { get; set; }
Property Value
|
System.Boolean
|
Implements
IsBackendVersion
Declaration
public bool IsBackendVersion { get; set; }
Property Value
|
System.Boolean
|
IsNullable
Declaration
public bool? IsNullable { get; set; }
Property Value
|
System.Nullable<System.Boolean>
|
Implements
IsPrimaryKey
Declaration
public bool IsPrimaryKey { get; set; }
Property Value
|
System.Boolean
|
Implements
Length
Declaration
public int? Length { get; set; }
Property Value
|
System.Nullable<System.Int32>
|
Scale
Declaration
public int? Scale { get; set; }
Property Value
|
System.Nullable<System.Int32>
|
SqlType
Declaration
public string SqlType { get; set; }
Property Value
|
System.String
|
Table
TargetClass
TargetField
Methods
AddAttribute(MetadataConstants)
Declaration
protected override IMetaItemAttribute AddAttribute(MetadataConstants key)
Parameters
|
MetadataConstants
key
|
Returns
|
IMetaItemAttribute
|
Overrides
CalculatePositionHash()
Declaration
protected override int CalculatePositionHash()
Returns
|
System.Int32
|
Overrides
CalculatePrimaryHash()
Declaration
protected override int CalculatePrimaryHash()
Returns
|
System.Int32
|
Overrides
Clone()
CompareCore(Object)
Declaration
protected override int CompareCore(object otherItem)
Parameters
|
System.Object
otherItem
|
Returns
|
System.Int32
|
Overrides
GetDefaultValue<Z>(MetadataConstants)
Declaration
protected override Z GetDefaultValue<Z>(MetadataConstants key)
Parameters
|
MetadataConstants
key
|
Returns
|
Z
|
Type Parameters
|
Z
|
Overrides
Explicit Interface Implementations
IDataColumn.AssemblyQualifiedName
Declaration
string IDataColumn.AssemblyQualifiedName { get; }
Returns
|
System.String
|
Implements
IDataColumn.ResolvedLength
Declaration
int? IDataColumn.ResolvedLength { get; }
Returns
|
System.Nullable<System.Int32>
|
Implements
IDataColumn.ResolvedScale
Declaration
int? IDataColumn.ResolvedScale { get; }
Returns
|
System.Nullable<System.Int32>
|
Implements
IDataColumn.ResolvedSqlType
Declaration
string IDataColumn.ResolvedSqlType { get; }
Returns
|
System.String
|
Implements
IDataColumn.UDTName
Declaration
string IDataColumn.UDTName { get; }
Returns
|
System.String
|