New Posts New Posts RSS Feed: OData samples
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

OData samples

 Post Reply Post Reply Page  <12
Author
mgood View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 18-Nov-2010
Location: Emeryville, CA
Posts: 583
Post Options Post Options   Quote mgood Quote  Post ReplyReply Direct Link To This Post Topic: OData samples
    Posted: 07-Feb-2012 at 11:01am
chuckc,
In both of your cases you added a property that uses a non-serializable type. Neither the EntityManager is serializable nor the Dictionary. Whether you use OData or not, both these classes can never be serialized. 
 
The way to tell OData to ignore certain properties is by means of the IgnorePropertiesAttribute, which you already tried and I think I know what's happening. Our code generator emits the following attribute for each entity, which causes the compiler to ignore yours.
 
[IgnoreProperties(@"EntityAspect")]
 
I need to do some research on my end to determine what the easiest way is to get your properties into the list of ignored properties.
 
 
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down