Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsAccessor.SessionTransacted Property

Set the transaction mode that is used when creating a EMS Session. Default is "false".

[Visual Basic]
Public Property SessionTransacted() As Boolean
   Public Get
   End Get
   Public Set
   End Set
End Property
[C#]
public bool SessionTransacted { public get; public set; }

Remarks

Setting this flag to "true" will use a short local EMS transaction when running outside of a managed transaction, and a synchronized local EMS transaction in case of a managed transaction being present. The latter has the effect of a local EMS transaction being managed alongside the main transaction (which might be a native ADO.NET transaction), with the EMS transaction committing right after the main transaction.

See Also

EmsAccessor Class | Spring.Messaging.Ems.Support Namespace