LINQ to SQL (Part 9 - Using a Custom LINQ Expression)(weblogs.asp.net)

submitted by gavinjoycegavinjoyce(25.7k) 4 years, 8 months ago

Scott Guthrie continues his series of blog posts that cover LINQ to SQL. "LINQ to SQL is a built-in O/RM (object relational mapper) that ships in the .NET Framework 3.5 release, and which enables you to model relational databases using .NET classes. You can use LINQ expressions to query the database with them, as well as update/insert/delete data."

2 comments |category: |Views: 48

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by den2005den2005(0) 4 years, 4 months ago 0

Nice series of lessons...Good Tutorial Reference... :D

Reply

posted by KostikKostik(0) 4 years, 2 months ago 0

Scott, I was really amazed, when I looked at LINQ to SQL for the first time! It seemed to make what all ORM's so much lacked - full strongly-typed support. It is also very flexible; in the O/R Designer (auto-generated entitiy classes) you have made so many things which lacked in typed DataSets!
But when I've studied the framework a bit more thoroughly, I've discovered that one very basic thing is lacking (if compared, for example, with NHibernate) - multi-table inheritance support. Every basic project has multi-layer inheritance and it seems to be very ugly model to store all this in a single table! I understand that this "basic" feature is not so simple to build, but do you have any such plans? I think a lot of people would very much like to get this feature!

Reply

information Login or create an account to comment on this story