ComponentOne ADO.NET DataExtender
C1.C1DataExtender.2 Assembly / C1.C1DataExtender Namespace / C1DataViewSet Class / ConnectionProvider Property

In This Topic
    ConnectionProvider Property
    In This Topic
    Gets or sets an invariant name of ADO.NET Data Provider that C1DataViewSet uses when connecting to database denoted by the ConnectionString property value.
    Syntax
    'Declaration
     
    Public Property ConnectionProvider As System.String
    public System.string ConnectionProvider {get; set;}
    Remarks
    See the ConnectionString property description for details on connecting to data source using connection string.

    When this property value is changed, the ConnectionString property value is reset to an empty string.

    An invariant name of data provider (that must be specified as this property value) corresponds to a value of the "InvariantName" column of DataRow representing this adapter from DataTable returning by the DbProviderFactories.GetFactoryClasses method.

    See Also