DynamicMetadata
Interface Function
The complete information entity of document
Attribute
| Attribute | Type | Remarks |
|---|---|---|
| Id | string | Data ID |
| CreateBy | string | Specify data source |
| ModifyBy | string | Modifier information |
| CreateDate | DateTime | Create time |
| ModifyDate | DateTime | Modify time |
| Properties | Dictionary |
Document original data |
Method
- HasProperty
Description
Determine if there is an attribute in document.
Parameter
| Parameter | Type | Remarks |
|---|---|---|
| propertyName | string | Attribute name to be determined |
Return Value
bool
- SafeGet
Description
Obtain the field in the document.
Parameter
| Parameter | Type | Remarks |
|---|---|---|
| T | General | Return value type |
| propertyName | string | Attribute name |
Return Value
T
- SafeSet
Description
Set the field in the document.
Parameter
| Parameter | Type | Remarks |
|---|---|---|
| T | General | Attribute type |
| propertyName | string | Attribute name |
- SetProperty
- SetProperties
- GetProperty
- RemoveProperty