Entity Framework 6 ã§ã LightSpeed ã¿ããã« CreatedOn / UpdatedOn ã¨ããããããã£ãããã°ãèªåçã«ç»é²æ¥ã¨æ´æ°æ¥ãè¨å®ãã¦ã»ãã人çã§ããã ãªã®ã§äººå½¢çºã®å¤çã㨠nabehiro å çã®ããã°ã®ã³ã¼ãããã¯ãããã¨æãã¾ãããããªãã¬ã¯ã·ã§ã³ãæ°ã«é£ããªãã£ãã®ã§ããã®ãããã ãå¤ãã¾ããã åºæ¬çãªæ¹éã¯å ã³ã¼ãã¨å¤ããããChangeTracker ã追跡ä¸ã®ã¨ã³ãã£ãã£ãã追å ã»å¤æ´ããããã®ã ããåå¾ããCreatedOn / UpdatedOn ããããã£ã«å¤ãè¨å®ãã¦ãã¾ãã éåæçã ããªã¼ãã¼ã©ã¤ããã¦ã¾ãããå¿ è¦ã«ãã£ã¦ã¯åæçãå¼ãå¿ è¦ãããã¾ãã public override Task<int> SaveChangesAsync(CancellationToken cancellationToken) {
{{#tags}}- {{label}}
{{/tags}}