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 4592768
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:35:14+00:00 2026-05-21T22:35:14+00:00

Are there any decent articles online that explain in detail how the conventions work

  • 0

Are there any decent articles online that explain in detail how the conventions work in EF 4.1? There was an article linked from Scott Gu’s blog, but it was dated 2010, I think it was then in CTP 4. Not sure if the conventions have beem modified since then. But I don’t understand how it works. For example how does it know to use the table SkillType if I have this code (what does it look for?):

public DbSet<SkillType> SkillTypes { get; set; }

This is just 1 of my confusions, then there is foreign keys, primary keys, etc. I need to familiarise myself with these conventions so any goof articles that I can read please let me know. I did Google and couldn’t get anything solid and concrete.

  • 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-21T22:35:15+00:00Added an answer on May 21, 2026 at 10:35 pm

    There is no real walkthrough. You can find basic description of all conventions in MSDN. My answer on MSDN forum posts links to all conventions.

    There was really big change in conventions since CTP5. First of all you cannot add custom conventions any more – this feature was removed from final version. If you define DbSet as in your example it is not job for convention to define table. There is some mechanism (probably using reflection) which finds all defined sets in the contexts and starts mapping generation.

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

Sidebar

Related Questions

Are there any decent plugin's for Eclipse that allow integration with StarTeam? I miss
I was wondering if there was any decent way, other than NSLog-ing just about
Is there any way I can set a formatter on models that will convert
Is there any way we can fetch X509 Public Cetrificates using c# from AD
Are there any decent examples of the following available: Looking through the WIF SDK
Are there any decent bash plug-ins for Eclipse? My only requirement is syntax highlighting.
Possible Duplicates: What Are Some Good .NET Profilers? Any decent C# profilers out there?
Is there any decent API to read xml string data like we do using
I have seen this question: Are there any decent UI components for touch screen
Are there any decent PHP libraries available for accessing SVN repositories? Right now I

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.