|
OpenPetra
Free Administration Software for Non-Profits
|
Thrown in case a caller wants to create a Command that would be enlisted in a DB Transaction that was started against a DB Connection that is different from the DB Connection of current DB Connection (running DB Commands on one DB Connection with a DB Transaction that was started against another DB Connection isn't supported [because each DB Command is bound to a certain DB Connection as the ADO.NET providers {specifically: the PostgreSQL provider, Npgsql} aren't thread-safe!}]). More...
Public Member Functions | |
| EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException () | |
| Initializes a new instance of this Exception Class. More... | |
| EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException (String AMessage) | |
| Initializes a new instance of this Exception Class with a specified error message. More... | |
| EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException (String AMessage, String AConnectionIdentifierOfConnectionOfPassedInTransaction, string AConnectionIdentifierOfConnectionOfCurrentTDataBaseInstance) | |
| Initializes a new instance of this Exception Class with a specified error message and ConnectionIdentifierOfConnectionOfPassedInTransaction and ConnectionIdentifierOfConnectionOfCurrentTDataBaseInstance. More... | |
| EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException (string AMessage, Exception AInnerException) | |
| Initializes a new instance of this Exception Class with a specified error message and a reference to the inner Exception that is the cause of this Exception. More... | |
| override string | ToString () |
| Creates and returns a string representation of the current EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException. More... | |
Properties | |
| String | ConnectionIdentifierOfConnectionOfPassedInTransaction [get, set] |
| ConnectionIdentifier of the Connection of the Transaction that got passed in as an Argument. More... | |
| String | ConnectionIdentifierOfConnectionOfCurrentTDataBaseInstance [get, set] |
| ConnectionIdentifier of the current TDataBase instance. More... | |
Thrown in case a caller wants to create a Command that would be enlisted in a DB Transaction that was started against a DB Connection that is different from the DB Connection of current DB Connection (running DB Commands on one DB Connection with a DB Transaction that was started against another DB Connection isn't supported [because each DB Command is bound to a certain DB Connection as the ADO.NET providers {specifically: the PostgreSQL provider, Npgsql} aren't thread-safe!}]).
|
inline |
Initializes a new instance of this Exception Class.
|
inline |
Initializes a new instance of this Exception Class with a specified error message.
| AMessage | The error message that explains the reason for the Exception. |
|
inline |
Initializes a new instance of this Exception Class with a specified error message and ConnectionIdentifierOfConnectionOfPassedInTransaction and ConnectionIdentifierOfConnectionOfCurrentTDataBaseInstance.
| AMessage | The error message that explains the reason for the Exception. |
| AConnectionIdentifierOfConnectionOfPassedInTransaction | ConnectionIdentifier of the Connection of the Transaction that got passed in as an Argument. |
| AConnectionIdentifierOfConnectionOfCurrentTDataBaseInstance | ConnectionIdentifier of the current TDataBase instance. |
|
inline |
Initializes a new instance of this Exception Class with a specified error message and a reference to the inner Exception that is the cause of this Exception.
| AMessage | The error message that explains the reason for the Exception. |
| AInnerException | The Exception that is the cause of the current Exception, or a null reference if no inner Exception is specified. |
|
inline |
Creates and returns a string representation of the current EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.
See https://msdn.microsoft.com/en-us/library/system.exception.tostring(v=vs.100).aspx for the standard .NET implementation of the System.Exception.ToString() Method.
|
getset |
ConnectionIdentifier of the current TDataBase instance.
|
getset |
ConnectionIdentifier of the Connection of the Transaction that got passed in as an Argument.