ActiveReports 18 .NET Edition
MESCIUS.ActiveReports.Aspnetcore.Designer Assembly / GrapeCity.ActiveReports.Aspnetcore.Designer Namespace / DesignerSettings Class / UseDataProviders Method
Example

In This Topic
    UseDataProviders Method (DesignerSettings)
    In This Topic
    Adds custom data provider info
    Syntax
    'Declaration
     
    Public Sub UseDataProviders( _
       ByVal providers() As DataProviderInfo _
    ) 
    public void UseDataProviders( 
       DataProviderInfo[] providers
    )

    Parameters

    providers
    Example
    app.UseDesigner(settings =>
    {
        // Please refer to our web samples for more details.
        settings.UseDataProviders(new DataProviderInfo[]
    	{
    		new DataProviderInfo("SQLITE",
    			typeof(SQLiteProviderFactory).AssemblyQualifiedName,
    			typeof(SQLiteConnectionAdapter).AssemblyQualifiedName),
    		new DataProviderInfo("ODATA",
    			typeof(C1ODataProviderFactory).AssemblyQualifiedName,
    			typeof(C1ODataConnectionAdapter).AssemblyQualifiedName)
    	});
    });
    See Also