Questions tagged [change-tracking]

Change tracking is the process of recording changes made to data as they are made.

356 questions
0
votes
1 answer

Word 2010 vba to find and go to the most recent tracked changes

I have a macro that finds all tracked changes made in the last day and highlights them. Sub HilightNewChanges() ''''''''''''' ' Finds tracked changes made in the last day, and ' highlights them (without tracking the highlighting) ''''''''''''' Dim…
TheFontSnob
  • 101
  • 5
0
votes
1 answer

Tracking Visits on a Roll Up Account with Google Analytics Universal

I am just looking for some help setting up a single view of all the sites we have. I can find lots of help for the old analytics tracking code but not for the new universal analytics. I've got 5 sites each with their own tracking code in place but…
Roxi
  • 73
  • 1
  • 1
  • 5
0
votes
1 answer

Syncing with and without Sql Server 2008 changes tracking

I've stuck with syncing a Sql server 2008 having changes tracking enabled with a 2005 one that doesn't have this mechanism. Would you please point me a right track, how can I handle this. Thank you,
0
votes
2 answers

Better Application wide Logging approach for Large MVC project

I'm looking for a better logging approach for a large MVC project. I tried to look around towards other's suggestions (like Log4Net, Nlog, ELMAH, EntityFramework's Self tracking & few others), but could not find reasonable answer. By term logging i…
Zeeshan
  • 2,884
  • 3
  • 28
  • 47
0
votes
1 answer

Change detection in complex system

This might seem like a fairly specific question but I'm wondering if there is any technology/pattern out there that might help me in a current project. I have a hugely complex database which is updated by multiple systems. I now need to do change…
0
votes
1 answer

EntityFramework 5 - InvalidOperationException when accessing DbContext.ChangeTracker.Entries

in my DbContext implementation if have a method called "IsModified". This is used by the application to show some kind of "Dirty" state. Within the method i access the ChangeTracker of the DbContext like shown below. If i access the…
0
votes
0 answers

How do I change State.Modified to State.Added but use a new Key?

Whenever an entity which inherits from HistoricalData is changed, I want to do an insert instead of an update. This is the abstract base class with Key {VersionID, ParentID}: public abstract class HistoricalData { public int VersionID { get;…
magnattic
  • 12,638
  • 13
  • 62
  • 115
0
votes
1 answer

Insert instead of update for history data?

I am using EF 6.1 Code First and want to track history data by using a model which (simplified) looks like this: public class Customer : IHistoryData { public Guid ID { get; set; } public virtual ISet Versions {…
0
votes
1 answer

Using breeze to do change tracking

I am new to Breeze and i was looking for some working example about change tracking. I want to enable or disable the save button if there are some changes on page. I want to have same functionality like creating dirty flag as we do in knockout. On…
James
  • 1,827
  • 5
  • 39
  • 69
0
votes
2 answers

How to handle initialization with object that has property change tracking

Thanks to Marc Gravell's awesome answer I was able to implement property change tracking within my class. However, when the object is first initialized and the properties set for the first time all the properties are being marked as dirty. What…
bflemi3
  • 6,698
  • 20
  • 88
  • 155
0
votes
1 answer

SQL Server 2008 Change Tracking

We want to use Change Tracking to implement a two-way sync between a SQL Server 2008 Enterprise/Standard instance, and an Express 2008 instance. When we read the remote changes, and then make the adjustments on the local server, how can we keep…
Matt
  • 285
  • 3
  • 12
0
votes
0 answers

Entity framework caching multiple servers

We are using Entity Framework 4 and are creating our context using the repository pattern and using Structuremap for DI. private readonly BLEntities _context; public ProductService(BLEntities context) { _context = context; …
Peuge
  • 1,461
  • 5
  • 20
  • 37
0
votes
1 answer

Track changes in client and send to server

I am planning a 3-tiered architecture in which I need to track changes to domain objects on the client (a Windows Store app) then send those changes back to the server (an Azure worker-role). I just found out about WCF Data Services which I can run…
0
votes
2 answers

Detect changes between records in two tables

I have 3 tables: Staging: that gets employee records inserted every month. Master: table has contains all previously entered records from staging, unique records. Changes: keeps track of all changes - has no primary key. The tables have 10…
user2726975
  • 1,285
  • 3
  • 17
  • 26
0
votes
1 answer

Obtain all changes from database change tracking

I know how to get changes from one table but what I want is to get the changes from all the tables. How can I achieve this?
Gauri K.
  • 79
  • 1
  • 1
  • 10