///<summary>更新赋值</summary> public static void SetUpdate(this IAuditedModel model) { model.LastUpdatedDate = DateTime.Now; }
///<summary>插入赋值</summary> public static void SetInsert(this IAuditedModel model) { model.CreatedDate = DateTime.Now; model.LastUpdatedDate = model.CreatedDate; }