Beispiel #1
0
        public MappingConfiguration(IDiagnosticLogger logger)
        {
            this.logger = logger;

            FluentMappings = new FluentMappingsContainer();
            FluentMappings.PersistenceModel.SetLogger(logger);

            AutoMappings = new AutoMappingsContainer();
            HbmMappings  = new HbmMappingsContainer();
        }
Beispiel #2
0
 public MappingConfiguration()
 {
     FluentMappings = new FluentMappingsContainer();
     AutoMappings   = new AutoMappingsContainer();
     HbmMappings    = new HbmMappingsContainer();
 }