Hi, I have a entity project which holds about 30 classes and this project is used in several web applications. One application maybe uses all the 30 classes but another one only uses 3 classes. So my question is: How can I add just the classes that a uniqe application needs? My first thought was to add the names of the needed classes in app settings in web.config like:
<add key="MappingClasses" value="User,Application,News" />
And then split and loop in the configuration of the session factory. But I really would like your input on this! What is the best approach to achieve this?