创建表单数据表格

This commit is contained in:
yubaolee
2018-03-02 17:45:08 +08:00
parent e87eb3c822
commit 18239d7bed
5 changed files with 27 additions and 25 deletions

View File

@@ -146,5 +146,9 @@ namespace OpenAuth.Repository
return dbSet;
}
}
public int ExecuteSql(string sql)
{
return Context.Database.ExecuteSqlCommand(sql);
}
}
}

View File

@@ -58,5 +58,7 @@ namespace OpenAuth.Repository.Interface
void Delete(Expression<Func<T, bool>> exp);
void Save();
int ExecuteSql(string sql);
}
}