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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:55:38+00:00 2026-05-23T14:55:38+00:00

As I understand, Proxied POCO objects can track changes only being attached to ObjectContext.

  • 0

As I understand, Proxied POCO objects can track changes only being attached to ObjectContext. On the contrary STE tracks changes even being detached. I am curious why there is no support for a POCO proxy which will implement STE behaviour internally?

  • 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-23T14:55:39+00:00Added an answer on May 23, 2026 at 2:55 pm

    Take this only as my personal opinion.

    There are no “self tracking proxies” because for current implementation it would nor make sense. Why:

    • Self tracking entities were developed to support change set scenarios over web services where entity is able to track changes on the client side, client will pass these changes back to service and entity will apply changes back to a new instance of the context.
    • To make this work client and service must share implementation of self tracking entities.

    That is supposed usage of STEs. In any other scenario they don’t have too much sense

    • In WinForms / WPF / Service application directly accessing EF you don’t need them and it is generally a bad scenario to use them because you can use attached entities directly.
    • In Web application you don’t want them because it would require storing them either serialized in page (= same as view state) or in session / cache. First scenario is design approach which is dead for many years and you should simply not use it and second should be avoided as much as possible.

    So where do you see the usage of “self tracking proxies”? Do you want to use them instead of STEs? Why? And more importantly how? Main advantage of STEs implementation is that they are serializable whereas dynamically created proxies are not! If you check how serialization over web services (WCF) work you will see that all serializable types passed through services must be know when the service is started. Otherwise only basic unproxied will be exposed.

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

Sidebar

Related Questions

I understand that only the class can access the data so therefore it is
I understand how I can change the dns settings for my domains by editing
I understand what System.WeakReference does, but what I can't seem to grasp is a
I understand the difference between String and StringBuilder ( StringBuilder being mutable) but is
.NET has a thing called remoting where you can pass objects around between separate
(I understand Excel is only borderline programming) I have a block of data that
I understand that if I cast it to a named type I can do
Can someone please help me understand the following: In the previous version of NHibernate
I can not understand the following: WS-Security and https are presented as alternatives. The
I understand that you as programmer can tipify the suggestion of the browser for

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.