//public List<TableDrivedEntityDTO> listAllEntitis { get; private set; } private async void SetImportedInfo() { listNew = new List <TableImportItem>(); var listEntity = bizTableDrivedEntity.GetOrginalEntitiesWithoutUIComposition(Database.ID, EntityColumnInfoType.WithFullColumns, EntityRelationshipInfoType.WithRelationships); foreach (var entity in listEntity) { var item = new TableImportItem(entity, false, ""); SetInfo(item); listNew.Add(item); } await DecideProperties(listNew); dtgNewTables.ItemsSource = listNew; btnInsert.IsEnabled = listNew.Any(); }