.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

DataSourcePropertyAttribute Constructors

Applied to business classesreference and collection properties. Specifies the name of a collection property used as the data source for a List View displayed in a Lookup Property Editor or invoked by the LinkUnlinkController.LinkAction Action in a popup window.
Name Parameters Description
DataSourcePropertyAttribute(String) dataSourceProperty Initializes a new instance of the DataSourcePropertyAttribute class with the specified DataSourcePropertyAttribute.DataSourceProperty property.
DataSourcePropertyAttribute(String, DataSourcePropertyIsNullMode) dataSourceProperty, mode Initializes a new instance of the DataSourcePropertyAttribute class with the specified DataSourcePropertyAttribute.DataSourceProperty and DataSourcePropertyAttribute.DataSourcePropertyIsNullMode properties.
DataSourcePropertyAttribute(String, DataSourcePropertyIsNullMode, String) dataSourceProperty, dataSourcePropertyIsNullMode, dataSourcePropertyIsNullCriteria Initializes a new instance of the DataSourcePropertyAttribute class with the specified DataSourcePropertyAttribute.DataSourceProperty, DataSourcePropertyAttribute.DataSourcePropertyIsNullMode and DataSourcePropertyAttribute.DataSourcePropertyIsNullCriteria properties.
See Also