Entity Framework : How can I recreate tt records from and edmx file...does the lack of tt records cause could not find conceptual model error -
i have been working database first entity framework development against exisiting database , lots of stored procedures. when doing development tt files created , these causing conflicts edmx file.... forget exact message many of generated classes being found twice. when trying solve problem found if deleted tt files clear problem up... , did not appear have down side this.
my code working , good.
but have gotten far enough along others trying use code first time... code out of repository , finding on every machine original development machine code compiles fine, when attempting run getting error of "could not fidn concetual model type xxxxx"... know related entity framework , in reading beginning think being caused not having tt records on other machines....
i don't know why works on machine , not others....is because deleted tt records? if how can generate new tt records edmx file? have looked , not found on how correct mistake....
the second question how can keep tt records , edmx file conflicting? memory tt records create file...but when update edmx file start creating conflicts .... edmx , tt records out of sync...and tt records not being updated when edmx file was.
this still development code....i looking @ trying code first ef...i had read this, didn't think take advantage of of business logic stored in stored procedures going database first route.... not working there tons of gets each of has different set of attributes.... have seen database first works, getting whole lot of different classes when need base class...maybe optional or nullable values... , in same cases full hierachy of classes... starting read on code first ef using existing database (which hope supports stored procedures).
Comments
Post a Comment