Applied Patrick Earl's patch, adding event ModelCreated that allows to re-configure...
[castle.git] / Facilities / AutomaticTransactionManagement / Changes.txt
blob9bfef2912d942dedb2b63a840d9df0ebf904749b
1 \r
2 == Beta 5 ==\r
3 \r
4 - Fixed bug reported on the Forum (when a\r
5   component was configured using the component's node, no interceptor\r
6   was being attached)\r
7 \r
8 - Refactored to support configuration and attributes. For example\r
9 \r
10   [Transactional]\r
11   public class MyTransactionalComponent\r
12   {\r
13     [Transaction]\r
14     public virtual void Save()\r
15     {\r
16     }\r
17   }\r
18   \r
19   is equivalent to \r
20   \r
21   <component \r
22         id="someid" \r
23         type="MyTransactionalComponent, MyAssembly"\r
24         isTransactional="true">\r
25   \r
26     <transaction>\r
27       <method name="Save" />\r
28     </transaction>\r
29   \r
30   </component>\r
32   You can also specify the transaction mode and isolation:\r
33   \r
34   <transaction>\r
35     <method name="Save" transactionMode="Requires" isolationLevel="Chaos" />\r
36   </transaction>\r