mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-19 01:58:01 +08:00
routine update
This commit is contained in:
@@ -24,8 +24,9 @@ namespace OpenAuth.App
|
||||
|
||||
public void Add(Form obj)
|
||||
{
|
||||
Repository.Add(obj);
|
||||
Repository.ExecuteSql(FormUtil.GetSql(obj));
|
||||
UnitWork.Add(obj);
|
||||
UnitWork.ExecuteSql(FormUtil.GetSql(obj));
|
||||
UnitWork.Save();
|
||||
}
|
||||
|
||||
public void Update(Form obj)
|
||||
|
Reference in New Issue
Block a user