Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

ASP.NET MVC EF Code First set LastUpdateTime automatically

$
0
0

  In a model class, there is a field

  public DateTime  LastUpdateTime { get; set; }

  It is supposed to be set to the value of GetDate() every time the record is updated, how to do?


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>