LINQ in Action roller

Linq inheritance without modifying existing tables

Hi, here is the situation : - a table, say "tableA", that contains a certain number of fields, is mapped to a class "A", - a table, say "tableB", contains some extra attributes that semantically belong to table "tableA", but "tableA" cannot be extended, in order not to break existing code. The goal is to create a class, say "ExtendedA", that contains all the attributes of class "A", and some attributes coming from table "tableB", and map this class to the database without modifying neither "tableA", Read More...
Published Monday, July 28, 2008 4:18 AM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication