public DatabaseSectionNode Build() { DatabaseSectionNode node = new DatabaseSectionNode(); ProviderMappingsNode mappingsNode = new ProviderMappingsNode(); foreach (DbProviderMapping mapping in databaseSettings.ProviderMappings) { mappingsNode.AddNode(new ProviderMappingNode(mapping)); } node.AddNode(mappingsNode); return node; }
public DatabaseSectionNode Build() { DatabaseSectionNode node = new DatabaseSectionNode(); ProviderMappingsNode mappingsNode = new ProviderMappingsNode(); foreach (DbProviderMapping mapping in databaseSettings.ProviderMappings) { mappingsNode.AddNode(new ProviderMappingNode(mapping)); } node.AddNode(mappingsNode); return(node); }
public DatabaseSectionNode Build() { DatabaseSectionNode node = new DatabaseSectionNode(); ProviderMappingsNode mappingsNode = new ProviderMappingsNode(); foreach (DbProviderMapping mapping in databaseSettings.ProviderMappings) { mappingsNode.AddNode(new ProviderMappingNode(mapping)); } node.AddNode(mappingsNode); node.RequirePermission = databaseSettings.SectionInformation.RequirePermission; return(node); }