简体   繁体   中英

How to use IObjectWithChangeTracker Interface?

I have been searching EVERYWHERE for this IObjectWithChangeTracker Interface that I think I need for a problem in my current project and I FINALLY discover (via this ) that it isn't actually built into.Net

What I still can't figure out is how in the world do I use it,. I can't find the code anywhere. I have no idea what these T4 things are? Or where I find them. Someone help?

That site is specific for silverlight - entity framework already has self tracking entities.You can attach new objects you create as modified, deleted, etc, but altering a current object automatically tracks its state. So - what are you trying to do? : )

t4 files are code generation files. You can basically include a template (.tt file) in your project and when you run your project, the file is processed and generally create one or more code output files. See: http://msdn.microsoft.com/en-us/library/bb126445.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM