change-tracking
STE ChangeTracker.OriginalValues always Empty
I am having trouble getting OriginalValues from my EF STE DTO. var _Item = n开发者_如何学编程ew MyClass();[详细]
2023-04-05 05:59 分类:问答c# - Compare two Dictionary for know each "add" operations and each "remove" operations
I have 2 dictionnary with similaire struture Dictionary<string, List<int>> Origins and Dictionary<string, List<int>> Changes[详细]
2023-04-04 20:51 分类:问答SQL Server 2008 Linked Server and CONTEXT_INFO
I\'m trying to use the SQL Server 2008 Change Tracking feature. Once the feature is enabled, you can make use of the CHANGETABLE(... function to query the change tracking history that is kept internal[详细]
2023-04-01 16:37 分类:问答Field change tracking in Entity Framework
Is there a way to find out what field has been changed on my object. Sample problem : when some开发者_如何学C date field is changed and the changes are being saved custom some custom logic should be[详细]
2023-04-01 11:40 分类:问答ChangeTracker Entity Framework 4.1 - Original Values of Related Objects
I have a base class that I inherit from that has two zero to many relationships with other entities: public abstract class WebObject[详细]
2023-03-28 05:39 分类:问答Why do I need to tell git I've removed a file?
I\'m building a historical record of development into git from saved zip files. I\'m happy about the need to git add . files to the staging area so that the selected files are committed. So far so goo[详细]
2023-03-23 08:40 分类:问答MySQL - change tracking of the *data* in the DB?
I have a situation where I need to keep track of all changes to the data in a MySQL database. For example, we have a field in the \"customers\" table which will contain a rating that indicates how r[详细]
2023-03-18 01:13 分类:问答Entity Framework 4: How do I get the original values of a child object when saving a parent?
I\'ve seen lots of posts on SE relating to this, but none have answered the question satisfactorily. If there is a post that does answer this (with an actual code example) then please point me in that[详细]
2023-03-13 16:16 分类:问答Getting the real State of SelfTracking Entities, including Navigation Properties
I would like to change the display of objects if they have unsaved changes. I thought I could just use ChangeTracker.State, but that doesn\'t change to Modified if I c开发者_开发问答hange a Navigation[详细]
2023-03-11 20:22 分类:问答Entity Framework push-based change tracking
Does Entity Framework innately support any sort of change tracking in terms of detecting which records in a database were added af开发者_如何学Pythonter some date x and which were added before some da[详细]
2023-03-10 16:04 分类:问答