Message in Chinese (Simplified) (中文(简体))
所用 InstanceStore 的永久性提供程序实现无效。该实现试图在处理非事务性命令时执行事务性命令。如果在处理从 InstancePersistenceCommand.IsTransactionEnlistmentOptional 返回 true 的命令时,使用从其返回 false 的命令调用 InstancePersistenceContext.Execute 或 InstancePersistenceContext.BeginExecute,则可能发生此异常。请使用不会产生这种行为的永久性提供程序,或重写其中一个命令的 IsTransactionEnlistmentOptional,以返回正确的值。
Unlocalized message
The persistence provider implementation of InstanceStore in use is invalid. It attempted to execute transactional command while processing a non-transactional command. This exception can occur when InstancePersistenceContext.Execute or InstancePersistenceContext.BeginExecute is called with a command that returns false from InstancePersistenceCommand.IsTransactionEnlistmentOptional while processing a command which returns true. Either use a persistence provider which does not do so, or override IsTransactionEnlistmentOptional on one of the commands to return the correct value.
Search by Google