Geeks With Blogs
Edward Gnatiuk - .NET Project Management and Development SouthFloridaDev.com (Blog), @eddyworx (Twitter)

I have the presentation with links and code to email to anyone who wants it, just email me.  edg is my email at Agilisure.com.

Ed

Posted on Monday, February 14, 2011 12:09 PM Code Camp , Linq to SQL | Back to top


Comments on this post: Presentation and code is ready.

# re: Presentation and code is ready.
Requesting Gravatar...
Please send me the presentation and code.

I am planning to use LINQ to SQL in one of my projects that I am working on. I have a question. First, let me give a brief introduction of the project.

The project deals with collecting information from the user (7 master tables and 15 look up tables), basically has 8 screens. The information has to be collected in 7 objects(master tables) and serialized as I page from screen to screen. I am planning to store the serialized objects in the database. The question is with LINQ to SQL, is it possible to stack the 7 objects, put in a generic collection (list) and serialize as I page through the screens?

Once I reach the final screen, my goal is to dump the information from the 7 objects (unserialized at the final point) to the 7 master tables using LINQ to SQL. Will this work?
Left by Uma Ayyanathan on Feb 16, 2011 7:36 PM

# re: Presentation and code is ready.
Requesting Gravatar...
I am not sure I understand what you are tyring to do, but there is a serialization option, but for WCF.
You maybe able to do this with this capability, but have some work to do. I know Plinqo can attach and detach, that is a code smith library that adds some features as I mentioned in presentation. Hope this helps.
Left by Ed on Feb 16, 2011 8:24 PM

# re: Presentation and code is ready.
Requesting Gravatar...
After rereading your email, yes you can do this, just attach the objext at to the correct data context object.
Left by Ed on Feb 17, 2011 12:25 PM

Your comment:
 (will show your gravatar)


Copyright © Ed Gnatiuk | Powered by: GeeksWithBlogs.net