nopcommerce - NopCommerece => Moving Mapping folder of Data Access Layer in Seperate Project -
in nopcommerece mvc version, trying move mapping folder out of dal project seperate class library project, trying make dal more generic, can used in other projects well.
but when run application, every entity says "the entity type [entityname] not part of model current context."
i think happening because autofac not finding irepository injection, tips or ideas , doing wrong?
thanks in advance
ok! found solution issue, in objectcontext file, there overridden method named onmodelcreating, creating instances of mapping type objects in assembly through reflection.
i have asked method specific dll mapping entries , started working.
Comments
Post a Comment