Use of Devart.Data.Oracle.OracleConnection' for Context connection
Posted: Thu 20 Sep 2012 08:05
Hello,
I would like to use an connection of type "Devart.Data.Oracle.OracleConnection" to connect to the Entity context.
I want use this type, to use the FailOver feature of DevOrt Oracle Connection.
But I cannot give over an OracleConnection, when I initialize the context. An EntityConnection is expected.
What can I do, to use the feature FailOver an also the entity framework?
Error Message, because the types are totally different:
Cannot convert type 'Devart.Data.Oracle.OracleConnection' to 'System.Data.EntityClient.EntityConnection'
I would like to use an connection of type "Devart.Data.Oracle.OracleConnection" to connect to the Entity context.
I want use this type, to use the FailOver feature of DevOrt Oracle Connection.
But I cannot give over an OracleConnection, when I initialize the context. An EntityConnection is expected.
What can I do, to use the feature FailOver an also the entity framework?
Error Message, because the types are totally different:
Cannot convert type 'Devart.Data.Oracle.OracleConnection' to 'System.Data.EntityClient.EntityConnection'