internal void GenerateMemberNames(DesignDataSource dataSource, ArrayList problemList) { if ((dataSource == null) || (codeProvider == null)) { throw new InternalException("DesignDataSource or/and CodeDomProvider parameters are null."); } InitLookupIdentifiers(); this.dataSourceHandler = new DataSourceNameHandler(); this.dataSourceHandler.GenerateMemberNames(dataSource, codeProvider, this.languageCaseInsensitive, problemList); foreach (DesignTable table in dataSource.DesignTables) { new DataTableNameHandler().GenerateMemberNames(table, codeProvider, this.languageCaseInsensitive, problemList); new DataComponentNameHandler().GenerateMemberNames(table, codeProvider, this.languageCaseInsensitive, problemList); } if ((dataSource.Sources != null) && (dataSource.Sources.Count > 0)) { DesignTable designTable = new DesignTable { TableType = TableType.RadTable, DataAccessorName = dataSource.FunctionsComponentName, UserDataComponentName = dataSource.UserFunctionsComponentName, GeneratorDataComponentClassName = dataSource.GeneratorFunctionsComponentClassName }; foreach (Source source in dataSource.Sources) { designTable.Sources.Add(source); } new DataComponentNameHandler { GlobalSources = true }.GenerateMemberNames(designTable, codeProvider, this.languageCaseInsensitive, problemList); dataSource.GeneratorFunctionsComponentClassName = designTable.GeneratorDataComponentClassName; } }