Title here
Summary here
This attribute defines that this property is used to store the lookup value of the property from the object used in the Source for a Lookup identified by the given lookupSourcePropertyName.
[AttributeUsage(AttributeTargets.Property)]
public sealed class RetrieveColumn : Attributepublic class MyLookupData
{
[MatchColumn("Id")]
public string LookupId { get; set; }
[RetrieveColumn("Value")]
public string LookupValue { get; set; }
}
public class MyDataRow
{
public string Id { get; set; }
public string Value { get; set; }
} public RetrieveColumn()This property is used to store the retrieved value from the lookup data.
public RetrieveColumn(string inputPropertyName)| Type | Name | Description |
|---|---|---|
| string | inputPropertyName | Name of the property in the lookup object |
Name of the property in the input data
public string InputPropertyName { get; set; }| Type | Description |
|---|---|
| string |
Name of the corresponding column in the lookup object.
public string LookupSourcePropertyName { get; set; }| Type | Description |
|---|---|
| string |