Class ColumnInfo
Class, which represent information about column from database.
Inheritance
System.Object
ColumnInfo
Namespace: Kros.KORM.Metadata
Assembly: Kros.KORM.dll
Syntax
public class ColumnInfo
Properties
AutoIncrementMethodType
Type of primary key auto increment method.
Declaration
public AutoIncrementMethodType AutoIncrementMethodType { get; set; }
Property Value
Type | Description |
---|---|
AutoIncrementMethodType |
Converter
Gets or sets the data converter.
Declaration
public IConverter Converter { get; set; }
Property Value
Type | Description |
---|---|
IConverter |
IsPrimaryKey
Gets or sets a value indicating whether this column is primary key.
Declaration
public bool IsPrimaryKey { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Column name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
PropertyInfo
Gets or sets the property information.
Declaration
public PropertyInfo PropertyInfo { get; set; }
Property Value
Type | Description |
---|---|
System.Reflection.PropertyInfo |
Methods
GetValue(Object)
Gets the value.
Declaration
public object GetValue(object targetObject)
Parameters
Type | Name | Description |
---|---|---|
System.Object | targetObject | The target object. |
Returns
Type | Description |
---|---|
System.Object | Return value from targetObject. |
SetValue(Object, Object)
Sets the value.
Declaration
public void SetValue(object targetObject, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | targetObject | The target object. |
System.Object | value | The value. |