mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-09-21 02:57:54 +08:00
增加对sql只返回string的支持;
修复添加表单时,如果关联的数据库已存在的bug
This commit is contained in:
11
OpenAuth.Repository/QueryObj/QueryStringObj.cs
Normal file
11
OpenAuth.Repository/QueryObj/QueryStringObj.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace OpenAuth.Repository.QueryObj
|
||||
{
|
||||
/// <summary>
|
||||
/// 针对只返回字符串类型的数值。查询SQL必需使用Value作为返回字段
|
||||
/// 因为string没有构造函数,不能作为DbSet/DbQuery泛型的参数
|
||||
/// </summary>
|
||||
public class QueryStringObj
|
||||
{
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user