Question

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?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top