Finally, I had to add a constructor that took a DbConnection to DbContext and its descendants.
Also setze ich das auf den Accessor und verwende es dann Schließlich musste ich einen Konstruktor hinzufügen, der eine DbConnection zu DbContext und seinen Nachkommen führte.
This causes the Database property of SQLTransaction1 to automatically change to 'DBConnection'.
Damit wird die 'Database' Eigenschaft von SQLTransaction1 automatisch auf 'IBConnection1' eingestellt.
Then, change the Database property of SQLQuery1 to 'DBConnection'.
Als nächstes setzen sie die 'Database' Eigenschaft von SQLQuery1 auf 'IBConnection1'.
Change the Transaction property of DBConnection to 'SQLTransaction1'.
Ändern sie die 'Transaction' Eigenschaft von IBConnection1 auf 'SQLTransaction1'.
If you are creating your own DbConnection, then make sure that it is an EntityConnection and not some other type of DbConnection, and that you pass it to one of the base DbContext constructors that take a DbConnection.
Wenn Sie Ihre eigene DbConnection erstellen, stellen Sie sicher, dass es sich um eine EntityConnection und nicht um eine andere Art von DbConnection handelt, und dass Sie sie an einen der DbContext-Basiskonstruktoren übergeben, die eine DbConnection verwenden.
DbContext can now be created with a DbConnection that is already opened.
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.
Aucun résultat pour cette recherche.
Synonymes et analogies de "DbConnection" en anglais