Shimmy on .NET
Ideas and thoughts about .NET and related geeky material by Shimmy Weitzhandler
Sign in
|
Join
|
Help
Home
Contact
About
RSS
Atom
Comments RSS
Search
Tags
.NET
.NET 4
ADO.NET
ASP.NET MVC
C#
char
Code-First
DataAnnotations
DatabaseInitializer
Data-Binding
Date
DbContext
Designer
DEV
Dictionary
dynamic
Eager Loading
EDM
EF
Entity Framework
Entity Framework 4.1
Enum
Event
Expression Tree
Extension Methods
Garbage-Collector
GC
Generics
hardcoded
Hebrew
icloneable
IDictionary
IMarkupExtension
Include
IsNull
Jewish
LINQ
markupextension
Model-First
MVVM
My Namespace
Nullability
ObjectContext
ObjectQuery
ObservableDictionary
OFFTOPIC
Performance
Prism
Readability
Reflection
RequiredAttribute
RIA
RIA-Services
Silverlight
Silverlight-4
Silverlight-5
SQL
SQLCE
SQL-Compact
StaticExtension
string
Strongly-typed
Text
Tip
Type-Arguments
UniqueAttribute
Validation
ValidationAttribute
VB.NET
VB10
ViewModel
Views
Visual-Studio-2010
VS2010
VSIX
Window
winrt
WPF
XAML
News
Navigation
Home
All Posts
RSS
Popular Tags
Archives
May 2012 (2)
March 2012 (2)
February 2012 (2)
January 2012 (4)
October 2011 (1)
May 2011 (2)
April 2011 (1)
March 2011 (2)
December 2010 (2)
September 2010 (1)
August 2010 (3)
September 2010 - Posts
14
Comments
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...
תגים:
Entity Framework
,
DEV
,
Views
,
ADO.NET
,
EDM
,
Designer
,
VSIX