Post Profile






Define an Unique Key for a property of a class

Explaining how to define an Unique Key for Property of a Class in Entity Framework code first approach
read more

share

Related Posts


Creating a WCF RIA Services Class Library for a Silverlight Application with Code First Approach

Programming / Windows Development : CodeProject

This article shows how to create and configure a WCF RIA Services class library for a Silverlight application using the ADO.NET Entity Framework Code First approach.

Entity Framework Code First Entities and entity relationships

Programming / Windows Development : CodeProject

This article is a part of a multi-post article on Entity Framework Code First for web applications: Entity Framework Code First Entities and entity relationships Entity Framework Data Context Entity Framework Migrations and Data see...

Many to Many relationship using MVC and Entity Framework code first code migration approach

Programming / Windows Development : CodeProject

Many to Many relationship using MVC and Entity Framework code first code migration approach.How to use List box control in MVC application.

EntityType: EntitySet ‘[Entity Name]’ is based on type ‘[Entity Name]’ that has no keys defined

Programming / Windows Development : CodeProject

So, the exception completely indicates us that it is not able to find a Key in model, which is defined in database for that entity. Problem When you design a model class for the entity, you define many properties including keys, if ...

Entity Framework Code First using Database Project

Programming / Windows Development : CodeProject

This article explains how to create database project to existing solution explorer and how to import the existing database that is already created by using Entity Framework code first approach. It also explains how to update the dat...

Comments


Copyright © 2016 Regator, LLC