Ejemplo n.º 1
0
        public MappingConfiguration(IDiagnosticLogger logger)
        {
            this.logger = logger;

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

            AutoMappings = new AutoMappingsContainer();
            HbmMappings  = new HbmMappingsContainer();
        }
Ejemplo n.º 2
0
 public MappingConfiguration()
 {
     FluentMappings = new FluentMappingsContainer();
     AutoMappings   = new AutoMappingsContainer();
     HbmMappings    = new HbmMappingsContainer();
 }