Posted on: 4/12/2015 12:06:39 AM | Views : 671

Hello, I am working on a site that does updates every 15 minutes.  Basically if the information is the SAME as the database, I do not want to update it and keep the last update date the same.
If any one of the properties is different though, I want to do an update and change the update date.
What am I doing wrong in the code below?  I am missing something or not understanding something correctly.
Of course I can do this the long way by putting the current information that is pulled into an object and putting the information I pull from the database into an object and check each property.  I just figured there was a way to compare the entire object etc. 
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { public class TestCompareObjects { public string FirstName { get; set; } ...

Go to the complete details ...