mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 优化 导航属性的关系,友好支持 int/int? 映射;
This commit is contained in:
@ -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; }
|
||||
|
Reference in New Issue
Block a user