Hello,
I have created a DevForce EF model application, following the procedure stipulated in chapter "Hello DevForce" of the developer manual. The project compiles without errors. However, when i try to run the following code:
DomainModel.
DomainModelEntityManager ent = new DomainModel.DomainModelEntityManager();
DomainModel.Subject subject = new DomainModel.Subject();
subject.FirstName =
"John";
subject.LastName =
"Doe";
ent.AddEntity( subject );
ent.SaveChanges();
I always get this error:
[Script generated HTML removed from this post by Moderator]
Save failed - Error loading metadata: Cannot find corresponding Client CLR Type for 'nBepsModel.IcsProgram' in DomainModel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null.
Where IcsProgram is a navigation property of Subject.
Any ideas?
Thanks,
Philippe
Edited by DFFadmin - 08-Jul-2008 at 12:07pm