All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

MongoDBDataSourceBase.SchemaDiscoveryMaxItemCount Property

Specifies the number of MongoDB collection items used to build the data source schema.

Namespace: DevExpress.DataAccess.MongoDB

Assembly: DevExpress.DataAccess.v21.1.dll

Declaration

[DefaultValue(100)]
[LocalizableCategory(DataAccessStringId.PropertyGridDataCategoryName)]
public int SchemaDiscoveryMaxItemCount { get; set; }

Property Value

Type Default Description
Int32

100

The number of MongoDB collection items used to build the data source schema.

Remarks

When you call the Fill() method of the MongoDBDataSource class, the data source executes queries to a MongoDB instance and analyses the structure of all loaded database collection items to build the data source schema. The SchemaDiscoveryMaxItemCount property allows you to limit the number of analysed collection items. The default value of this property is 100. The same limit applies for nested elements of each item. Set the value of the property to 0 to use all the collection items to build the data source schema.

See Also