void InitItemsFromDataSource(ModelType selectedItem, DataSourceTable table) { IModelTypeConfigurator configurator = (IModelTypeConfigurator)selectedItem.ModelTypeConfigurator; configurator.InitFromDatasource(table); }
public ModelType(string modelTypeName, IModelTypeConfigurator modelTypeConfigurator) { this.ModelTypeName = modelTypeName; this.ModelTypeConfigurator = modelTypeConfigurator; }