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

Select List of Poco classes for specific entityState

I've got a piece of software that is adding entries to a context. using the changetracker I want to generate a List of Poco classes for reporting purposes. Like this: List addedRecords =…
Luuk Krijnen
  • 1,180
  • 3
  • 14
  • 37
0
votes
0 answers

Manually insert records into SQL Server 2008 change tracking tables?

I want to enable SQL Server 2008's Change Tracking on some of my tables. I also have some existing historical data that we were tracking another way that we would want to combine with the change tables. Is there a way to manually insert data into…
Jon Kruger
  • 4,009
  • 4
  • 33
  • 46
0
votes
1 answer

Improving performance of slow query - Potentially by disabling change tracking

I have a Linq query on a DbSet that hits a table and grabs 65k rows. The query takes about 3 minutes, to me that seems like obviously too much. Although I don't have a line of comparison but I'm certain this can be improved. I'm relative new to EF…
parliament
  • 21,544
  • 38
  • 148
  • 238
0
votes
1 answer

Change Tracking for TeraData

We need a way to know which rows changed in a TeraData database since the last time we imported data from that database. There is nothing about the table or data in the table in the TeraData database that proves to be a reliable change-signal we can…
0
votes
3 answers

ADO.NET Framework change tracking

i just wanted to ask if there is a way the reject all changes made to a ADO.NET Framework model with its relations? Auditing in Entity Framework describes a way the restore the original value of a single entity. But is this possible for all unsaved…
Alexander
  • 3,724
  • 8
  • 42
  • 50
0
votes
1 answer

ASP.NET MVC4 ViewModel Changetracking using knockout.js

I have a page wherein I want to know when any changes have been made to any of the field and then I will disable and enable the save button. I am using the code below and It does not work anyone know what I am missing? @using…
reggieboyYEAH
  • 870
  • 3
  • 11
  • 28
0
votes
1 answer

AutoDetectChangesEnabled Behavior

I have a theoretical issue here. I've learnt that DbContextConfiguration.AutoDetectChangesEnabled property value determines whether the automatic detection of changes in the context is enabled. But, I've set it to false and the context still…
pangular
  • 699
  • 7
  • 27
0
votes
1 answer

SQL Server's Change Tracking / Change Data Capture with tables without primary keys?

I have to monitor one table in a database for changes and replicate them to some table in another database. For some reason, I can not modify the structure of original database, so I can't use triggers, or create constraints, etc. Change Tracking…
TX_
  • 5,056
  • 3
  • 28
  • 40
0
votes
1 answer

ArgumentException is thrown when working with ChangeTracker in overriden SaveChanges method

I overrode SaveChanges method to audit changes in EntityFramework. That works fine until I try to update associated object. When I try to update associated object, I get ArgumentException. I found out that exception is thrown after I read entities…
0
votes
1 answer

DataServiceCollection: undo remove exsiting item

I'm looking at WCF Data Services, particularly at change tracking implementation in DataServiceCollection. Let's consider an undo scenario in application, which manages blogs and blog entries (each blog has many blog entries). I'm testing two…
Dennis
  • 37,026
  • 10
  • 82
  • 150
0
votes
0 answers

ChangeTracker.Entries not returning entries with entities of Type T

using EF 4.3.1 in SaveChanges(), i'm trying to get a list of all entries for entities which implement a specific interface. My entities implement multiple interfaces, one of which is IAuditable. The following doesn't return any entries, even though…
newbie_86
  • 4,520
  • 17
  • 58
  • 89
0
votes
0 answers

How to gather changes made in RTF document?

I am trying to gather all tracked changes from RTF file (track changes already enabled). I have checked documentation but I have not found much helpful data.
Piotroslav
  • 252
  • 1
  • 4
  • 14
0
votes
1 answer

MySQL manual change tracking

I am trying to implement a database change control using MySQL. To control inserts and updates I want to use something similar to a TIMESTAMP field in SQLServer (A column that autoincrements when a insert/update is made over a row). Does exists…
user1151835
0
votes
1 answer

Tracking changes manual using timestamps or automatic?

I have two databases synchronized using tracking changes of SqlServer 2008 Tracking Changes and it's cool because without effort I can control the inserts/updates and deletes of a database and send to the other. Currently I'm migrating the system to…
user1151835
0
votes
1 answer

Change tracking -- simplest scenario

I am coding in ASP.NET C# 4. The database is SQL Server 2012. I have a table that has 2000 rows and 10 columns. I want to load this table in memory and if the table is updated/inserted in any way, I want to refresh the in-memory copy from the DB. I…
user1044169
  • 2,686
  • 6
  • 35
  • 64
1 2 3
23
24