Solved

C#  LINQ to SQL (DBML)  - Find Old Value and New Value

Posted on 2013-12-19
3
639 Views
Last Modified: 2016-02-10
Hi..   DBML

How can I find the OLD and NEW values of a table when I call

DataContext.SubmitChanges();

Like a Customer Table.. need to find the OLD Customer Name and the New One being saved
0
Comment
Question by:JElster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 9

Expert Comment

by:QuinnDex
ID: 39730115
best place to do that is with a trigger on the customer table
0
 
LVL 1

Accepted Solution

by:
JElster earned 0 total points
ID: 39740198
GetChangeSet()
0
 
LVL 1

Author Closing Comment

by:JElster
ID: 39747874
found the solution
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION: While tying your database objects into builds and your enterprise source control system takes a third-party product (like Visual Studio Database Edition or Red-Gate's SQL Source Control), you can achieve some protection using a sing…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question