- 优化 导航属性的关系,友好支持 int/int? 映射;

This commit is contained in:
2881099
2019-08-16 20:33:59 +08:00
parent da1d7f782a
commit f80308a6eb
3 changed files with 17 additions and 17 deletions

View File

@ -858,7 +858,7 @@ namespace FreeSql.Tests.Sqlite
public class TestInclude_OneToManyModel2
{
[Column(IsPrimary = true)]
public int model2id { get; set; }
public int? model2id { get; set; }
public virtual TestInclude_OneToManyModel1 model1 { get; set; }
public string m2setting { get; set; }
@ -870,7 +870,7 @@ namespace FreeSql.Tests.Sqlite
[Column(IsIdentity = true)]
public int id { get; set; }
public int? model2111Idaaa { get; set; }
public int model2111Idaaa { get; set; }
public string title { get; set; }
public List<TestInclude_OneToManyModel4> childs2 { get; set; }