public void GetMembers(DatabaseStructureMembers dbmem) { if (RealNode.NodeChecked) { dbmem.TableList = true; dbmem.TableMembers = TableStructureMembers.AllNoRefs; if (!RealNode.CheckedAllChildren()) { dbmem.TableFilter = new List <NameWithSchema>(); foreach (var child in RealNode.RealChildren) { if (child.NodeChecked) { dbmem.TableFilter.Add(((DbDefChooseTableTreeNode)child.LogicalNode).m_table.FullName); } } } } }
public void GetMembers(DatabaseStructureMembers dbmem) { if (RealNode.NodeChecked) { var mem = new SpecificObjectMembers(); dbmem.SpecificObjectOverride[m_repr.ObjectType] = mem; mem.ObjectDetail = true; mem.ObjectList = true; if (!RealNode.CheckedAllChildren()) { mem.ObjectFilter = new List <NameWithSchema>(); foreach (var child in RealNode.RealChildren) { if (child.NodeChecked) { mem.ObjectFilter.Add(((DbDefChooseSpecObjectTreeNode)child.LogicalNode).m_obj.ObjectName); } } } } }