DCSIMG
SQL - Shimmy on .NET

Browse by Tags

All Tags » SQL (RSS)

Frustrated by lack of support for SQL-Views in ADO.NET Entity-Framework Designer? by Shimmy

It was several times that I faced this annoying situation till I decided to handle it myself. The story is simple. I am using EF designer to mirror the database tables into a .NET DAL. In the database there is a view that reflects a table or returns a table with additional information I want to keep separated from the table. I do want to be able to navigate from the table to the view in a short way: Dim table = context . Items . FirstOrDefault table . TableViewReference . Load () Dim view = table...
Powered by Community Server (Commercial Edition), by Telligent Systems