Class ColumnInfo
Inheritance
System.Object
ColumnInfo
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: FreeSql.dll
Syntax
Properties
|
Improve this Doc
View Source
Attribute
Declaration
public ColumnAttribute Attribute { get; set; }
Property Value
|
Improve this Doc
View Source
Declaration
public string Comment { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
CsName
Declaration
public string CsName { get; set; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
CsType
Declaration
public Type CsType { get; set; }
Property Value
| Type |
Description |
| System.Type |
|
|
Improve this Doc
View Source
DbDefaultValue
Declaration
public string DbDefaultValue { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
DbInsertValue
Declaration
public string DbInsertValue { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
DbPrecision
Declaration
public byte DbPrecision { get; }
Property Value
| Type |
Description |
| System.Byte |
|
|
Improve this Doc
View Source
DbScale
Declaration
public byte DbScale { get; }
Property Value
| Type |
Description |
| System.Byte |
|
|
Improve this Doc
View Source
DbSize
Declaration
public int DbSize { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
DbTypeText
Declaration
public string DbTypeText { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
DbUpdateValue
Declaration
public string DbUpdateValue { get; }
Property Value
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
Table
Declaration
public TableInfo Table { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
GetDbValue(Object)
获取 obj.CsName 属性值 MapType 之后的数据库值
Declaration
public object GetDbValue(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
GetMapValue(Object)
Declaration
[Obsolete("请使用 GetDbValue 或者 GetValue")]
public object GetMapValue(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
GetValue(Object)
获取 obj.CsName 属性原始值(不经过 MapType)
Declaration
public object GetValue(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
SetMapValue(Object, Object)
Declaration
[Obsolete("请使用 SetValue")]
public void SetMapValue(object obj, object val)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
| System.Object |
val |
|
|
Improve this Doc
View Source
SetValue(Object, Object)
Declaration
public void SetValue(object obj, object val)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
| System.Object |
val |
|