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...
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!}]).
◆ EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException() [1/5]
Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException |
( |
| ) |
|
|
inline |
Initializes a new instance of this Exception Class.
◆ EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException() [2/5]
Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException |
( |
String |
AMessage | ) |
|
|
inline |
Initializes a new instance of this Exception Class with a specified error message.
- Parameters
-
AMessage | The error message that explains the reason for the Exception. |
◆ EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException() [3/5]
Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException |
( |
String |
AMessage, |
|
|
String |
AConnectionIdentifierOfConnectionOfPassedInTransaction, |
|
|
string |
AConnectionIdentifierOfConnectionOfCurrentTDataBaseInstance |
|
) |
| |
|
inline |
◆ EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException() [4/5]
Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException |
( |
string |
AMessage, |
|
|
Exception |
AInnerException |
|
) |
| |
|
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.
- Parameters
-
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. |
◆ EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException() [5/5]
Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException |
( |
SerializationInfo |
AInfo, |
|
|
StreamingContext |
AContext |
|
) |
| |
|
inline |
Initializes a new instance of this Exception Class with serialized data. Needed for Remoting and general serialization.
Only to be used by the .NET Serialization system (eg within .NET Remoting).
- Parameters
-
AInfo | The SerializationInfo that holds the serialized object data about the Exception being thrown. |
AContext | The StreamingContext that contains contextual information about the source or destination. |
◆ GetObjectData()
override void Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.GetObjectData |
( |
SerializationInfo |
AInfo, |
|
|
StreamingContext |
AContext |
|
) |
| |
|
inline |
Sets the SerializationInfo with information about this Exception. Needed for Remoting and general serialization.
Only to be used by the .NET Serialization system (eg within .NET Remoting).
- Parameters
-
AInfo | The SerializationInfo that holds the serialized object data about the Exception being thrown. |
AContext | The StreamingContext that contains contextual information about the source or destination. |
◆ ToString()
override string Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.ToString |
( |
| ) |
|
|
inline |
◆ ConnectionIdentifierOfConnectionOfCurrentTDataBaseInstance
String Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.ConnectionIdentifierOfConnectionOfCurrentTDataBaseInstance |
|
getset |
ConnectionIdentifier of the current TDataBase instance.
◆ ConnectionIdentifierOfConnectionOfPassedInTransaction
String Ict.Common.DB.Exceptions.EDBAttemptingToCreateCommandOnDifferentDBConnectionThanTheDBConnectionOfOfTheDBTransactionThatGotPassedException.ConnectionIdentifierOfConnectionOfPassedInTransaction |
|
getset |
ConnectionIdentifier of the Connection of the Transaction that got passed in as an Argument.
The documentation for this class was generated from the following file: