combit List & Label 25 - .NET Online Web Help
ObjectDataProvider Class Properties

combit.ListLabel25.DataProviders Namespace : ObjectDataProvider Class

For a list of all members of this type, see ObjectDataProvider members.

Public Properties
Public Property

This optimization targets classes that contain class properties. If possible (i.e. no property is of type IEnumberable<T>) the members of this class properties are offered directly in the base table. A structure like (pseudo code)

class Customer

   public AddressClass Address {get; set;};
   string Firstname {get; set;};

will be offered as Customer.Firstname, Customer.Address.Street etc.

Public Property

This property sets up to which recursion depth relations should be resolved. An example would be a class "Person" which itself has a list <Person> as a member. (Default: 3)

Public Property

Allows to declare an object that is to be used for the structure parsing. That is especially helpful if no strongly typed objects are used the reflection does not depend on the concrete contents to determine the data structure. A "completely filled" object can be provided with this property, without the data actually being printed.

Public PropertyThe names for the tables are usually determined by the property names, i.e. if a Person has a List<Addresses> property called "Addresses", this will be the name of the table object made available in the Designer. However, for the "root" object, there is no such property name. Thus, you may set the table name via this property. The default value for this property is the type name of the source object or - if it is a generic type - the type name of the first generic parameter.  
Public Property  
Public PropertyAllows to switch between LINQ based sorting (default: true) and sorting via IBindingListView-Interface (depending on if your objects supports and implements this interface).  
See Also


ObjectDataProvider Class
combit.ListLabel25.DataProviders Namespace