Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of alternate views in entity framework
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Use of alternate views in entity framework
Versions des environnements
Environment:
C# 4.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01513450
Message ID:
01513450
Vues:
115
I'm just getting started with the Entity Framework. I'm trying to figure out the best way to approach building a table that contains calculated columns. For example, I have a table that has monthly values and I would like to have an entity that contains the average values for a given quarter. I can certainly do this the "old-fashioned" way but I'd like to stick with the new model as much as possible. Do I need to create a view and add that to the EDMX, figure out the XML command and use theWCF or is there something I'm missing? Similarly, what's the new way to get a scalar value back?
Thanks.
Linda Harmes
HiBit Technologies, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform