-
**描述一下BUG**
新增Controller后swager报错
**重现步骤**
Steps to reproduce the behavior:
1. 新增Controller后启动报错
`namespace UnionDeivice.WebApp.Controllers
{
public class AccountControllerr : ApiController…
-
EF 操作简单高效但内部有些需求,是否可以为 dapper扩展实
-
**描述一下BUG**
JwtToken过期之后,会出现403的错误,而不是401跳转到登录页面
-
OSharp.Entity.EntityConfigurationTypeFinder.cs 中默认加载了DefaultDbContext对应的实体配置信息:EntityInfoConfiguration,FunctionConfiguration,如果实际的使用的数据库操作上下文不是DefaultDbContext的情况下,即使重新定义了EntityInfo和Function实体的配置类也有可能…
-
**描述一下BUG**
OperationResult使用扩展方法ToAjaxResult()转AjaxResult丢失Data
**重现步骤**
Steps to reproduce the behavior:
OperationResult result =new OperationResult(OperationResultType.Success, "成功", "Data数据");…
-
var school = new School(); //new的时候 已经对Id进行赋值 9999
///
/// 初始化Id 在实体初始化的时候初始化Id
///
public School()
{
Id = 9999;
}
school = …
-
用sqlserver 一直报sa密码错误,密码是没问题的,我用工具连接正常,
改用mysql ,改名提示已有相同文件名,连接报错 日志如下
【17:43:30.462】 Microsoft.AspNetCore.Hosting.Internal.WebHost T1
Application startup exception
System.Data.SqlClient.SqlExce…
-
Hi 大大,我用代码生成插件碰到一个问题,请问是哪里错了吗?
System.InvalidOperationException:“指定的属性“string”在类型“My.Blogs.Blog.Entities.Article”中不存在。”
![image](https://user-images.githubusercontent.com/33166668/59149244-b83ea…
-
一直找不到数据审计不成功的原因,在修改数据后,调试发现为_osharpDbOptions为就为null。
在3.0几的版本测试无这问题。可以正常数据审计
OSharp.Entity.DbContextBase中的代码
```c#
///
/// 初始化一个类型的新实例
///
protected DbContext…
-
PM> Add-Migration InitialCreate
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at Microsoft.EntityFrameworkCore.Design.Interna…