Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Member
96 Points
25 Posts
Apr 24, 2012 12:20 PM|LINK
I think the problem you are struggling with is:
you need to provide the metadata of your objects. If you use Steven Sandersons demo, you can use the following line of code:
@(Html.UpshotContext(bufferChanges: true).DataSource<DataServiceController>(x => x.MethodToRetrieveData()))
This will configure the metadata u need and configure upshot for you.
Take a look what it generates, and then you can use it manually if you want to.
greetings
Kristof
KDegrave
Member
96 Points
25 Posts
Re: uncaught exception: Parent entity is not in the parent entity set for this association.
Apr 24, 2012 12:20 PM|LINK
I think the problem you are struggling with is:
you need to provide the metadata of your objects. If you use Steven Sandersons demo, you can use the following line of code:
This will configure the metadata u need and configure upshot for you.
Take a look what it generates, and then you can use it manually if you want to.
greetings
Kristof
Ria4HTML: http://ria4htmldemo.codeplex.com
Linq2IndexedDB: http://linq2indexeddb.codeplex.com