Paso 1: Crear un nuevo proyecto web de la SLWCFRiaServices.Web nombre usando Silverlight 5 y luego añadir un nuevo elemento mediante la selección de ADO.NET Entity Data Model a la misma.
Step-1: Create a new web project of the name SLWCFRiaServices.Web using Silverlight 5 and then add a new item by selecting ADO.NET Entity Data Model to the same.
Este proyecto de biblioteca de clases tiene un Entity Data Model (EDM) que se asigna a las distintas tablas de la base de datos.
This class library project has an Entity Data Model (EDM) that maps to the various tables in the database.
Un archivo.edmx también contiene información que utiliza ADO.NET Entity Data Model Designer (Entity Designer) para presentar un modelo gráficamente.
Para obtener más información, vea Cómo: Usar el Asistente para Entity Data Model (Entity Framework) o Cómo: Configurar manualmente un proyecto de Entity Framework y Cómo: Definir manualmente un modelo Entity Data Model (Entity Framework).
Cuando intenta ejecutar una aplicación Microsoft Visual C# o Microsoft Visual Basic, la aplicación no se ejecuta si un Entity Data Model (EDM) hace referencia a un proyecto de base de datos.
When you try to run a Microsoft Visual C# or Microsoft Visual Basic application, the application does not run if an Entity Data Model (EDM) references a database project.
Un archivo.edmx también contiene información que utiliza ADO.NET Entity Data Model Designer (Entity Designer) para presentar un modelo gráficamente. Para crear un archivo.edmx se recomienda usar el Asistente para Entity Data Model.
This topic describes how to use the ADO.NET Entity Data Model Designer (Entity Designer) and text templates to customize the generation of object context and entity classes (object-layer code).
Para obtener más información, vea Cómo: Usar el Asistente para Entity Data Model (Entity Framework) o Cómo: Configurar manualmente un proyecto de Entity Framework y Cómo: Definir manualmente un modelo Entity Data Model (Entity Framework).
For more information, see How to: Use the Entity Data Model Wizard (Entity Framework) or How to: Manually Configure an Entity Framework Project and How to: Manually Define an Entity Data Model (Entity Framework).
Para obtener más información, vea Cómo: Usar el Asistente para Entity Data Model (Entity Framework) o Cómo: Configurar manualmente un proyecto de Entity Framework y Cómo: Definir manualmente un modelo Entity Data Model (Entity Framework).
For more information about extending the functionality of the ADO.NET Entity Data Model Tools, see Extending the Entity Data Model Tools and ADO.NET Entity Data Model Designer Extension Starter Kit. See Also
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple