Hi
I created a base class for all my Code First Entities and I put the base class in a separate project or assembly.
Now, using Code Second Approach, I enter the inject base class like 'OtherProject.EntityBase' and it generates all the codes and I was able to compile the whole project.
When I try to execute the query like:
var context = new DomainEntities(some parameters here);
var result = context.Sample.ToList();
This error will show:
Unable to get metadata for
OtherProject.EntityBase . Make sure it is a valid entity type or POCO type with a KeyAttribute
Am I missing something?
Do i need to have a metadata (ibmmx) or something before it work?
Thanks,
Von