문제

I'm using EF Code First and Data Scaffolding and have an entity that contains a property of type

public System.Drawing.Image Image { get; set; }

When initialsing the DB context to create the DB i get the following errors:

System.Data.Edm.EdmEntityType: : EntityType 'Image' has no key defined. Define the key for this EntityType.

System.Data.Edm.EdmEntitySet: EntityType: EntitySet Images is based on type Image that has no keys defined.

Any ideas on how to get arround this?

올바른 솔루션이 없습니다

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top