コード例 #1
0
 public void Apply(string sessionAlias, HbmMappingsContainer hbmMappingsContainer)
 {
     foreach (IHbmMappingRegisterer item in items)
     {
         item.Apply(sessionAlias, hbmMappingsContainer);
     }
 }
コード例 #2
0
 public void Apply(string sessionAlias, HbmMappingsContainer hbmMappingsContainer)
 {
     foreach (IHbmMappingRegisterer item in items)
     {
         item.Apply(sessionAlias, hbmMappingsContainer);
     }
 }
コード例 #3
0
        public void Apply(string sessionAlias, HbmMappingsContainer hbmMappingsContainer)
        {
            if (sessionAlias != this.sessionAlias)
            {
                return;
            }

            Apply(hbmMappingsContainer);
        }
コード例 #4
0
        public MappingConfiguration(IDiagnosticLogger logger)
        {
            this.logger = logger;

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

            AutoMappings = new AutoMappingsContainer();
            HbmMappings = new HbmMappingsContainer();
        }
コード例 #5
0
 protected abstract void Apply(HbmMappingsContainer hbmMappingsContainer);
コード例 #6
0
 public MappingConfiguration()
 {
     FluentMappings = new FluentMappingsContainer();
     AutoMappings = new AutoMappingsContainer();
     HbmMappings = new HbmMappingsContainer();
 }
コード例 #7
0
 public void Apply(string sessionAlias, HbmMappingsContainer hbmMappingsContainer)
 {
     hbmMappingsContainer.AddClasses(typeof(HbmMappingRegisterer));
 }