mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 补充 Navigate(ManyToMany = typeof(中间表)) 多对多自定义配置;
This commit is contained in:
@ -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()
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user