skip to the main content area of this page
Patterns and Practices

 

IUpdateable for LINQ To SQL and ADO.NET Data Services - O/R Mapper


Although you can get LINQ To SQL to work with ADO.NET Data Services for querying SQL Server, LINQ To SQL does not implement IUpdateable for use in inserting and updating information in SQL Server.

I have not tried this yet, but there is an implementation of IUpdateable for use with LINQ To SQL on the Code Gallery:

 

ADO.NET Data Services IUpdateable implementation for Linq to Sql

"Implementation of ADO.NET Data Services IUpdateable interface for Linq to Sql Data Sources. The easiest way to use this is to define a partial class for your DataContext type and provide the implementation there. i.e.

public partial class nwDataContext : IUpdatable"

 

You can download the code here.

 

Tag: LINQ To SQL Tutorials, O/R Mappers

 


Tags: LinqToSql


Topics



 

Popular Tags



Recent Links