Closed GoogleCodeExporter closed 9 years ago
Original comment by Philip.L...@gmail.com
on 7 Aug 2009 at 11:24
Unfortunately, there isn't any way for LinFu.Proxy to handle ref T arguments
since it
has to know whether or not type 'T' is going to be a reference type or a value
type
before it can emit the necessary IL instructions that will let you pass your ref
argument down to the interceptor.
A simple workaround for this would be just to stick with a SaveOrUpdate(T
target)
method and let type T be either a parameter object or a POCO reference type and
let
the reference type pass the data by reference for you, if necessary. It's an
ugly
hack, but it should work.
Original comment by Philip.L...@gmail.com
on 9 Aug 2009 at 11:09
Original issue reported on code.google.com by
sudip...@yahoo.com
on 6 Aug 2009 at 2:51