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

  • Home
  • SEARCH
  • 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 6037387
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T06:03:59+00:00 2026-05-23T06:03:59+00:00

I`m thinking of using POCO instead of automatically generating the entities, cause i don’t

  • 0

I`m thinking of using POCO instead of automatically generating the entities, cause i don’t want any dependency on the framework

i was wondering if that will have any performance hit, I`m not sure if having to dynamically proxy my entities at run-time will affect performance ,

also i wonder if it gonna be faster if i just let EF4 generate the model for me.

I care about performance a lot in my current project and I have read many times about how L2S is slightly faster than EF2 but I’m not sure about EF4, so now I wonder if I will have performance issues by using EF4 instead of Linq2SQL.

I really wanna use POCO; that is why I prefer EF4 but then again I don’t wanna have performance issues.

EF4 and Ling2SQL are the only options for me because I can’t use native ADO.net or any other ORM, so can you please share your experience about EF4 and Linq2SQL from a performance perspective?

thanks in advance.

  • 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-23T06:04:00+00:00Added an answer on May 23, 2026 at 6:04 am

    Recently, ADO.NET team releases the EF Power Tools to support code first development, which automatically generates POCOs from you model/database(mssql only), and could completely separate POCOs from other meta classes to give structure information of database tables.

    At ADO.NET team blog, using EF Proxies is mentioned as following

    When creating instances of POCO entity types, the Entity Framework often creates instances of a dynamically generated derived type that acts as a proxy for the entity. This proxy overrides some virtual properties of the entity to insert hooks for performing actions automatically when the property is accessed.

    Sometimes disabling proxy creation is useful to prevent the Entity Framework from creating proxy instances. For example, serializing non-proxy instances is considerably easier than serializing proxy instances. Proxy creation can be turned off by clearing the ProxyCreationEnabled flag.

    Of course, creating proxy would be not good at performance, but as mentioned above, it just overrides some virtual properties for loading relative properties so that I think creating proxy objects instead of POCOs is not a problem.

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

Sidebar

Related Questions

I am thinking of using sed for reading .properties file, but was wondering if
For my web application, I am thinking about using the Spring framework. Initially, I
I am thinking of using a PHP framework called CodeIgniter . One of the
I'm thinking about using the java application object to implement a simple cache, to
I was thinking of using a Double as the key to a HashMap but
I was thinking of using AUTONOMOUS_TRANSACTION Pragma for some logging in a batch process.
I'm thinking of using Google Docs as a content management system, and to integrate
I am thinking about using Gears in a project, but I have doubts about
I'm thinking about using a ViewFlipper for an Wizard like Activity. But I see
Using magic strings in C# really unsettles me, so I'm thinking of using the

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.