TEntityConnection.ProviderName Property

Specifies the name of the current data provider used for establishing a connection.




property ProviderName: string;


Since EntityDAC is abstracted from the data access layer, direct interaction with the database is handled by specialized component packages such as Devart Data Access Components. A data provider is the specialized class that provides interaction between TEntityConnection and used data access components. All data providers used in an application are registered by the data provider manager, and available through their names.

Read the property value to determine the current provider name. Set the ProviderName property value to specify the current data provider name.

When a valid provider name is set, the corresponding data provider instance can be accessed through the Provider property. And vice versa, when the P:Devart.EntityDAC.TEntityConnection.DataProvider property is set, the corresponding provider name is assigned to the ProviderName property.

To define a database-specific behavior of the current data provider, DialectName and Dialect properties are used.

See Also

© 1997-2018 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback