mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 01:58:01 +08:00
feat: 强化代码生成器
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
// Author:Yubao Li
|
||||
//------------------------------------------------------------------------------
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using OpenAuth.Repository.Core;
|
||||
|
@@ -60,7 +60,6 @@ namespace OpenAuth.App
|
||||
Repository.Update(u => new {ClassName}
|
||||
{
|
||||
//todo: 根据业务需要调整字段
|
||||
{ClassName} = obj.{ClassName},
|
||||
Updatetime = DateTime.Now,
|
||||
Updateuserid = user.Id,
|
||||
Updateusername = user.Name
|
||||
|
Reference in New Issue
Block a user