List of Integers in Entity Infrastructure

public Class Animal { public int Id{get;set;} public string Name {get;set;} public ICollection<int> OwnerIds{ get; set; } } 

The animal class contains an int (ownerIds) list.

Entity structure does not create a table for OwnerIds, how can I match this?

+4
source share
1 answer

Add a second Owner object, only the property is int ID, add a link / link between them.

+9
source

All Articles