This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace YourNamespace | |
{ | |
public class DaoFactoryTest | |
{ | |
[Test] | |
public void TestBuildingDao1() | |
{ | |
INhPagedDAO dao = NhDaoFactory.MakePagedDAO(this.SessionFactory); | |
using (dao) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class AppStart | |
{ | |
private static HashSet<Assembly> Dependencies; | |
// In this method the assemblies will be loaded into internal collection. | |
public static void AppInitialize() | |
{ | |
Dependencies = new HashSet<Assembly>(); | |
LoadDependencyAssemblies(); |