Class PropertyAttribute
Data object property attribute
Inherited Members
Namespace: XData.Mapping
Assembly: XData.docfx.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class PropertyAttribute : PropertyBaseAttribute
Constructors
| Improve this Doc View SourcePropertyAttribute(String, String)
Data object property attribute
Declaration
public PropertyAttribute(string source = "", string fieldName = "")
Parameters
Type | Name | Description |
---|---|---|
String | source | Source alias |
String | fieldName | Field name |
Exceptions
Type | Condition |
---|---|
XDataRuntimeException | Field name cannot be null or empty string |
Properties
| Improve this Doc View SourceFieldName
Field name
Declaration
public string FieldName { get; }
Property Value
Type | Description |
---|---|
String |
IsLink
Property link flag
Declaration
public override bool IsLink { get; }
Property Value
Type | Description |
---|---|
Boolean | False |