The base type of the data I/O object schema.
StorageProvider
00 Remarks
(数据读写对象的基本类型)
01 Syntax
Microsoft.VisualBasic.Data.Framework.StorageProvider.ComponentModels.StorageProvider
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ToString | 2 | VB style definition string |
| GetValue | 1 | 从目标实例之中读取属性数据然后转换为字符串 |
| SetValue | 1 | PropertyInfo.SetValue()) |
| .ctor | 1 | Creates the object model from target property definition. |
| GetDescription | 1 |
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| Ordinal | 1 | The column index of this column in the csv table. |
| BindProperty | 1 | The bind property in the reflected class object. |
| Name | 1 | If the target property didn't provides the column name by using custom attribute, then this property will returns the Class propertyName from PropertyInfo. |
| CanReadDataFromObject | 1 | 从目标类型对象之中可以读取这个属性的值将数据写入到文件之中 |
| CanWriteDataToObject | 1 | 可以在读取Csv文件之中的数据之后将数据写入到这个属性之中从而将数据加载进入内存之中 |
| LoadMethod | 1 | 解析字符串为.NET对象的方法 |
| ProviderId | 1 | |
| IsMetaField | 1 |
04 Members
ToString(
Object)By using this function that save the property value as a cell value string. (将.NET对象序列化为csv单元格之中的一个字符串值的方法)
Parameters
| Name | Type | Description |
|---|---|---|
obj | Object | - |
ToString
VB style definition string
GetValue(
Object)从目标实例之中读取属性数据然后转换为字符串
Parameters
| Name | Type | Description |
|---|---|---|
obj | Object | - |
SetValue(
Object, Object)PropertyInfo.SetValue()
Parameters
| Name | Type | Description |
|---|---|---|
obj | Object | - |
value | Object | - |
#ctor(
PropertyInfo)Creates the object model from target property definition.
Parameters
| Name | Type | Description |
|---|---|---|
BindProperty | PropertyInfo | - |
Ordinal
The column index of this column in the csv table. (这个属性值在Csv文件的第几列?)
BindProperty
The bind property in the reflected class object. (在反射的类型定义之中所绑定的属性入口定义)
Name
If the target property didn't provides the column name by using custom attribute, then this property will returns the Class propertyName from PropertyInfo.
Remarks
(假若目标属性之中没有提供名称的话,则会使用属性名称来代替)
CanReadDataFromObject
从目标类型对象之中可以读取这个属性的值将数据写入到文件之中
CanWriteDataToObject
可以在读取Csv文件之中的数据之后将数据写入到这个属性之中从而将数据加载进入内存之中
LoadMethod
解析字符串为.NET对象的方法
ProviderId
IsMetaField
GetDescription()