Configure the Key when using Views as the basis for Entities

When using a View as the basis for an Entity in the Entity Framework (rather than a Table), make sure that the Key fields/properties are configured properly in the Model (EDMX). We recently experienced an anomaly where a Select All from a View-based Entity was not returning All the Entities we expected. There weren't any … Continue reading Configure the Key when using Views as the basis for Entities

Purpose and Principles of the Data Layer

At its core, the Data Layer’s main purpose is: Data Layer’s Main Purpose: To abstract all interactions with the database so that business objects can be written to deal with business rules, not with database interaction. For example, when promoting a standard Deal, the business logic comprises: validate that the Deal is in a promotable … Continue reading Purpose and Principles of the Data Layer

IdeaBlade DevForce – Model Setup Walk-through – Step 2: The DevForce Projects

Our Problem: We need to create an Enterprise application that is web-based, has an Excel-ish interface and pulls data from an Oracle database. Technologies Chosen*: Silverlight for the UI Prism 2 for the modular framework Unity for DI IdeaBlade DevForce for the Business Object Layer and Async functionality MS Entity Framework for the ORM DevArt … Continue reading IdeaBlade DevForce – Model Setup Walk-through – Step 2: The DevForce Projects

IdeaBlade DevForce – Model Setup Walk-through – Step 1: The Entity Framework Project

Our Problem: We need to create an Enterprise application that is web-based, has an Excel-ish interface and pulls data from an Oracle database. Technologies Chosen*: Silverlight for the UI Prism 2 for the modular framework Unity for DI IdeaBlade DevForce for the Business Object Layer and Async functionality MS Entity Framework for the ORM DevArt … Continue reading IdeaBlade DevForce – Model Setup Walk-through – Step 1: The Entity Framework Project