- 补充 Navigate(ManyToMany = typeof(中间表)) 多对多自定义配置;

This commit is contained in:
28810
2019-07-15 18:10:59 +08:00
parent 179b7d9851
commit b62afec7bb
18 changed files with 841 additions and 164 deletions

View File

@ -7,13 +7,20 @@ namespace FreeSql.DataAnnotations
{
/// <summary>
/// 导航属性,手工绑定
/// 手工绑定 OneToMany、ManyToOne 导航关系
/// </summary>
public string Bind { get; set; }
/// <summary>
/// 手工绑定 ManyToMany 导航关系
/// </summary>
public Type ManyToMany { get; set; }
public NavigateAttribute(string bind)
{
this.Bind = bind;
}
public NavigateAttribute()
{
}
}
}