LINQ in Action roller

LINQ "Object reference not set to an instance of an object" at SubmitAllChanges

Hi, I'm having troubles with DLINQ since three days. Actually I can't insert, or even delete (the basics) data in the database. I followed that tutorial : here Here are my classes: Category { ..... } Type { EntityRef Category EntitySet Properties } Property { EntityRef Type } Here is how i proceed the insert: ... Context db = Context.getInstance(); /// I use a singleton to have an unique instance db.Properties.InsertOnSubmit(newprop); db.SubmitChanges(); I do the same for saving Types... then I get Read More...
Published Wednesday, July 23, 2008 11:46 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication