Lesson 9 (Part 2) - Implement NHibernate using C#, Windows Form and dataGridView
Loading...
7,388
Loading...
Uploader Comments (CSharpGuitar)
see all
All Comments (4)
-
this is part 3, Please we need part 2
Loading...
Why would you not just use a config file?
jamiedraper1985 1 year ago
@jamiedraper1985 I am working on Lesson 10 right now. In this lesson I will use a config file for the NHibernate configurations. Sometimes I do things for simplicity. Putting the configuration in the .cs file is not the best option. Like you said, putting the configuration into a web/app.config is a better option. Also note that in NHibernate 3.0 the configuration is built in. I.e. no XML is needed at all.
CSharpGuitar 1 year ago
@CSharpGuitar For clarity, no XML required in NH 3.0 for configuration settings...we still need XML for entity mapping.
CSharpGuitar 1 year ago