[英]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我一直在到处寻找这个 IObjectWithChangeTracker 接口,我认为我需要解决当前项目中的一个问题,我最终发现(通过这个)它实际上并没有内置到.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?
我不知道这些T4的东西是什么? 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.该站点特定于 silverlight - 实体框架已经具有自我跟踪实体。您可以附加您创建的已修改、删除等新对象,但更改当前 object 会自动跟踪其 state。 So - what are you trying to do?
所以 - 你想做什么? : )
:)
t4 files are code generation files. t4 文件是代码生成文件。 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.
您基本上可以在您的项目中包含一个模板(.tt 文件),当您运行您的项目时,该文件被处理并通常创建一个或多个代码 output 文件。 See: http://msdn.microsoft.com/en-us/library/bb126445.aspx
请参阅: http://msdn.microsoft.com/en-us/library/bb126445.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.