I am receiving the follwing: Unhandled Exception: System.FieldAccessException: Field `IHS.Data.Gcode:_job' is inaccessible from method `(wrapper dynamic- method) object:setter (IHS.Data.Gcode,DbLinq.Data.Linq.EntityRef`1<IHS.Data.Job>)'
at (wrapper managed-to-native) System.Delegate:CreateDelegate_internal (System.Type,object,System.Reflection.MethodInfo) at System.Delegate.CreateDelegate (System.Type type, System.Object firstArgument, System.Reflection.MethodInfo method, Boolean throwOnBindFailure) [0x00251] in /usr/src/packages/BUILD/mono-2.4.2.3/ mcs/class/corlib/System/Delegate.cs:256 at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method, Boolean throwOnBindFailure) [0x00000] in /usr/src/packages/BUILD/mono-2.4.2.3/mcs/class/corlib/ System/Delegate.cs:278 at System.Delegate.CreateDelegate (System.Type type, System.Reflection.MethodInfo method) [0x00000] in /usr/src/packages/ BUILD/mono-2.4.2.3/mcs/class/corlib/System/Delegate.cs:282 at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type delegateType) [0x00029] in /usr/src/packages/BUILD/mono-2.4.2.3/mcs/ class/corlib/System.Reflection.Emit/DynamicMethod.cs:176 at DbLinq.Data.Linq.Mapping.LambdaMetaAccessor.MakeSetter (System.Reflection.MemberInfo member, System.Type memberType, System.Type declaringType) [0x000ee] in /home/zak/dev/dblinq2007/src/ DbLinq/Data/Linq/Mapping/LambdaMetaAccessor.cs:44 <snip...> Just to try something I changed private EntityRef<Job> _job; public which did allow execution to get past that point, just to choke on the next inaccessible field. It's pretty obvious that making all fields public is not the real solution to the problem, but at this point I am not sure what to do as I have only begun to dig through DbLinq. Any pointing in the right direction would be great. Thanks, Zak -- You received this message because you are subscribed to the Google Groups "DbLinq" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/dblinq?hl=en.
