Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Q&A   (RSS)

Q&A: When can I rely on my customers having .NET Framework 3.5 SP1?

The current situation is roughly: The majority of PCs have a version of the .NET Framework A fair number of PCs do not have the .NET Framework A fair number of PCs have .NET Framework 1.1 A lot more PCs have .NET Framework 2.0 A lot of PCs have .NET Framework

Q&A: How can I use LINQ with new data types in SQL Server 2008 such as the geospatial types?

This one has come up a few times. LINQ to SQL and LINQ to Entities in V1 do not currently support the newest types added to SQL Server 2008 nor do they support your own User Defined Types. More specifically: LINQ to SQL does not support the hierarchyID,

Q&A: How do I debug ADO.NET Data Services?

It is great that so many folks have started investigating Data Services and the Entity Framework as a result of the MSDN events we have been delivering. Which does also mean I keep getting asked “Why doesn’t mine work?” kind of questions. The good news
Posted by Eric Nelson | 0 Comments
Filed under: , ,

Q&A: How do I use ADO.NET Data Services with LINQ to SQL and enable read/write

ADO.NET Data Service gives you the ability to do: Read/Write with ADO.NET Entity Framework Read only with LINQ to SQL The reason it is read only for LINQ to SQL is that Data Services needs to object model that it is exposing to implement IUpdatable. LINQ

Q&A: Multi targeting and Visual Studio 2008, how do I ensure I only use the available APIs?

This question has come up a couple of times in the last few weeks as developers move to Visual Studio 2008 but need to continue to work on Visual Studio 2005 projects. The good news is we have a comprehensive solution for this thanks to the Code Analysis/FxCop

Entity Framework mapping scenarios

One thing I like to get across when I talk about the ADO.NET Entity Framework is that in V1 the Designer does not support all the capabilities of the underlying Entity Data Model (EDM) – and hence you will sometimes need to “roll up your sleeves” and

Q&A: Can I use LINQ with .NET Framework 2.0?

This question from one of my MSDN sessions has stumped me for a while. I know the new language features in Visual Studio 2008 (e.g. LINQ!) are compiler magic which ultimately spits out CLR 2.0 code – but what about the supporting assemblies? Hence… I

Q&A: How to return multiple result sets from a stored procedure using LINQ

This one has come up for both LINQ to SQL and LINQ to Entities. The scenario is a reasonably common one. How to handle something like this: CREATE PROCEDURE [dbo].[ReturnMultipleRS] AS select * from customers select * from products .csharpcode, .csharpcode

Q&A: Deciding between LINQ to SQL and LINQ to Entities

I keep getting asked this one. I have my own way of answering which ultimately ends up with “LINQ to Entities is the right choice for majority of scenarios, just expect a little pain”. In slightly more detail: If you only care about SQL Server AND you
 
Page view tracker