Developers Forum


A member in the CLR type is not present in the conceptual model

 
Hello

I'm new to ASPX and MVC programming in C#, but I got my hands on a built project in MVCCMS and tried to do a what seemed to be a minor change but got stuck.

I've added a new column in one of the custom tables.

I removed the model in the EDMX design and re-create it so the change is loaded.

At this point everything should have worked and I should have been able to use that data.

Unfortunately it did not.

Basically the error is "The member function x in the CLR type MvcCms.Data.y is not present in the conceptual model type Models.y"

Any help will be greatly appreciated.

Thank You
3 months 22 days ago by Userneo

Replies

Reply posted by jon 3 months 22 days ago View Branch And Reply
Take a look here

http://stackoverflow.com/questions/7377219/entity-framework-4-0-trouble-matching-conceptual-model-with-clr-types

I am guessing it is your foreign key property. Look closely at your navigation properties and see that they are all there. If so you might delete them and rebuild them from the context menu so that they get synced properly.