|
Hi, A sample is better than words :
Output
It is seems property that are not automated properties are not persisted anymore. I think this was working before : am I wrong? This thread was imported from our support forum. The original discussion may contain more detailed answer. |
psulek wrote:
rewrite property "Text2" to this:
psulek wrote:
What i know than this is exactly what postsharp generate when you use automatic properties like:
then postsharp change it to something similar to my code above. Alex (Xtensive) wrote:Our PostSharp aspects are currently capable of processing only auto-properties. But we consider improving this in future so that this code:
will be the following:
I.e. we'll try to automatically rewrite special method calls in setters. There is even a long-waiting issue for this: http://code.google.com/p/dataobjectsdot ... tail?id=75 olorin wrote: Thanks for the tip, psulek : this works like a charm. However I feel like I'm doing postsharp's job (but this may be normal) : can someone from Xtensive confirm? olorin wrote: I think this is not a real issue, but that would be a nice feature :) However this should be documented in manual. |
