public void Apply(string sessionAlias, HbmMappingsContainer hbmMappingsContainer) { foreach (IHbmMappingRegisterer item in items) { item.Apply(sessionAlias, hbmMappingsContainer); } }
public void Apply(string sessionAlias, HbmMappingsContainer hbmMappingsContainer) { if (sessionAlias != this.sessionAlias) { return; } Apply(hbmMappingsContainer); }
public MappingConfiguration(IDiagnosticLogger logger) { this.logger = logger; FluentMappings = new FluentMappingsContainer(); FluentMappings.PersistenceModel.SetLogger(logger); AutoMappings = new AutoMappingsContainer(); HbmMappings = new HbmMappingsContainer(); }
protected abstract void Apply(HbmMappingsContainer hbmMappingsContainer);
public MappingConfiguration() { FluentMappings = new FluentMappingsContainer(); AutoMappings = new AutoMappingsContainer(); HbmMappings = new HbmMappingsContainer(); }
public void Apply(string sessionAlias, HbmMappingsContainer hbmMappingsContainer) { hbmMappingsContainer.AddClasses(typeof(HbmMappingRegisterer)); }