Skip to main content
All docs
V23.2
.NET 6.0+

ReportOptions.ReportDataType Property

Specifies the type of the report data objects used to persist reports.

Namespace: DevExpress.ExpressApp.ReportsV2

Assembly: DevExpress.ExpressApp.ReportsV2.v23.2.dll

Declaration

public Type ReportDataType { get; set; }

Property Value

Type Description
Type

The Type of the report data objects used to persist reports.

Remarks

The following example demonstrates how to specify this property:

File: MySolution.Blazor.Server\Startup.cs.

using DevExpress.ExpressApp.ApplicationBuilder;
using DevExpress.ExpressApp.Blazor.ApplicationBuilder;
using DevExpress.Persistent.BaseImpl;
// ...
public class Startup {
   // ...
    public void ConfigureServices(IServiceCollection services) {
        // ...
        services.AddXaf(Configuration, builder => {
            builder.UseApplication<MySolutionBlazorApplication>();
            builder.Modules
                // ...
                .AddReports(options => {
                    options.ReportDataType = typeof(DevExpress.Persistent.BaseImpl.ReportDataV2);
                })
            // ...
        });
        // ...
    }
}
See Also