Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3276730
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:17:27+00:00 2026-05-17T19:17:27+00:00

I have not hardly touched EF4, but I’ve used Linq to sql quite a

  • 0

I have not hardly touched EF4, but I’ve used Linq to sql quite a lot. I would like to start into one of the EF templates but I have no idea what situations make sense for each or what their intent was.

I have the following possibilities:

  • Data templates
    • ADO.NET Entity Data Model
    • Service-based Database (is this even related to EF?
  • Code templates (I am familiar with T4)
    • ADO.NET EntityObject Generator
    • ADO.NET Self-Tracking Entity Generator
  • Online Templates
    • ADO.NET C# POCO Entity Generator
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:17:27+00:00Added an answer on May 17, 2026 at 7:17 pm

    I have no idea what situations make
    sense for each or what their intent
    was

    Not meaning to sound rude, but did you have a look on MSDN/ASP.NET to find out? There is plenty of information around. And there is a lot to each of those templates, more than i can go into here. There is a MSDN page for each of these.

    That being said, i’ll give you a quick summary, so people who stumble here have some info.

    ADO.NET Entity Data Model

    This is the file you create to use Entity Framework as your ORM, and it is mandatory for using EF. You need this before you use any of the others. You can create your EDM with a number of different approaches, including database-first (generate from DB), code-first, model-first, etc.

    Service-based Database

    I have never heard of this term, and given i’ve been working with EF a lot lately (and reading), i doubt this will be related to EF.

    ADO.NET EntityObject Generator

    Generates classes for entities which inherit from the EntityObject class. Identical to the default EF code generator, except instead of putting output code into the Model.edmx.designer.cs (default) file, the code gets put into seperate files. I personally don’t see any benefit in this template.

    ADO.NET Self-Tracking Entity Generator

    Generates classes for entities when you want to develop N-Tier applications (ie if you wanted to allow a WCF/Silverlight app to work with your model). Entities are setup to be ‘trackable’ by the EF Graph, in order to handle persistence operations from various applications.

    ADO.NET C# POCO Entity Generator

    My favourite. 🙂 Generates classes for entities which inherit from nothing. They have no idea that they are being used for persistence. Use this for applications when you want persistence-ignorance, testability and loose-coupling of your domain/persistence layers.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

have not tested on windows. but in ubuntu when u disconnect from the network,
I have not had to do something like this in the past and am
I have not used jquery much yet and not very familiar with it. Trying
I have not used many lambda expressions before and I ran into a case
For years I've been reading about XML and I have just not quite grokked
I have a basic C# console application that I would like to run as
I have several low quality pdfs. I would like to use OCR -- to
I have not started creating the code so I don't have anything to show,
I have not worked with parameters in ADO.Net very much. I'm writing a custom
I have not changed any of the configuration options for sessions in my php.ini.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.