Provides information on the mapping of the resource’s properties to the data source fields.
public class ResourceMappingInfo : MappingInfoBase<Resource>
Public Class ResourceMappingInfo Inherits MappingInfoBase(Of Resource)
The ResourceMappingInfo class contains a set of properties whose names are similar to the persistent properties declared within the Resource interface. If the resources storage object (ResourceStorage) is bound to a data source via its PersistentObjectStorage<T>.DataSource property, the properties of the ResourceMappingInfo class allow the corresponding persistent properties of resources to be bound to appropriate fields in the data source.
An object of the ResourceMappingInfo type can be accessed via the resources storage’s ResourceStorage.Mappings property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ResourceMappingInfo class.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.