Click here to Skip to main content
15,891,184 members
Articles / Programming Languages / C#

Mixed Style Development in Entity Framework

Rate me:
Please Sign up or sign in to vote.
4.75/5 (4 votes)
4 Nov 2011CPOL13 min read 38.6K   950   37  
There are three development styles in Entity Framework: Database-First, Model-First, and Code-First. In this article, I will show a mixed development style with Entity Framwork.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Demo.Models.Domain;

namespace Demo.Models.DataInterfaces
{
    public interface IEmployeeRepository : IRepository<Employee>
    {
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Senior Software Developer from New Jersey, USA

Have 15+ years experience on enterprise application development with various technologies.

Comments and Discussions