Пример #1
0
        public MappingConfiguration(IDiagnosticLogger logger)
        {
            this.logger = logger;

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

            AutoMappings = new AutoMappingsContainer();
            HbmMappings  = new HbmMappingsContainer();
        }
Пример #2
0
 public MappingConfiguration()
 {
     FluentMappings = new FluentMappingsContainer();
     AutoMappings   = new AutoMappingsContainer();
     HbmMappings    = new HbmMappingsContainer();
 }