WPF/LINQ to SQL DataContext Best Practices

B

Bill McCormick

Hello,

Putting aside for the moment whether or not I should be using LINQ to SQL or
Entity Framework, I'm looking some best practice advice for managing the
LINQ to SQL DataContext behind my WPF application.

As far as using LINQ to SQL, I understand that MS will not end support for
it, however that they will provide a migration path to Entity Framework and
will recommend Entity Framework over LINQ to SQL. Is that correct? Is there
a migration tool available?

With regard to my existing project (which is about to be deployed,) should I
be considering moving to use the Entity Framework over LINQ to SQL sooner
rather than later?

Thanks,

Bill
 
G

Gregory A. Beamer

With regard to my existing project (which is about to be deployed,)
should I be considering moving to use the Entity Framework over LINQ
to SQL sooner rather than later?

I would say yes, if it is feasible with your project, but it is not as hard
as it sounds with LINQ to Entities bits in the LINQ project. There are
still some investment in LINQ to SQL in .NET 4.0, so you will have some
time before this decision is forced on you.

Peace and Grace,
Greg

--
Vote for Miranda's Christmas Story
http://tinyurl.com/mirandabelieve

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top