当我尝试插入重复值(对于外键)时,它会给出错误提示:“已经添加了具有相同键的项”CheckListTrack CheckListtrack = new CheckListTrack();foreach (int ListID in tracklist)
{CheckListtrack.CheckListReference.EntityKey = new EntityKey("SEI
我不知道在这里使用什么关键字,但是:我试图为实体和集合创建泛型基类,并且不知道如何将KeyType类型传递给EntityCollection的抽象方法。public class Product: Entity<string> {} // Product has a string identifier
public abstract IEnumerable<EntityType> Ge