mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Queryable.Select json array bug
This commit is contained in:
24
Src/Asp.Net/SqlServerTest/UnitTest/Models/TestModel.cs
Normal file
24
Src/Asp.Net/SqlServerTest/UnitTest/Models/TestModel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SqlSugarSelect
|
||||
{
|
||||
[SqlSugar.SugarTable("UnitTestModel1")]
|
||||
public class TestModel1
|
||||
{
|
||||
[SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
public string Titlt { get; set; }
|
||||
[SqlSugar.SugarColumn(ColumnDataType = "ntext", IsJson = true)]
|
||||
public Guid[] Ids { get; set; }
|
||||
}
|
||||
[SqlSugar.SugarTable("UnitTestModel2")]
|
||||
public class TestModel2
|
||||
{
|
||||
[SqlSugar.SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
||||
public int Id { get; set; }
|
||||
public int Pid { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user