Rus*_*ova 5 c# entity-framework entity-framework-4 entity-framework-4.1
public Class Animal
{
public int Id{get;set;}
public string Name {get;set;}
public ICollection<int> OwnerIds{ get; set; }
}
Run Code Online (Sandbox Code Playgroud)
Animal类包含int(ownerIds)列表.
实体框架没有为OwnerIds创建一个表,我该如何映射?
| 归档时间: |
|
| 查看次数: |
3384 次 |
| 最近记录: |