public static void ImportResultColumns(IResultColumns srcResultColumns, TableDefinitionRow destTab) { nextPkNumber = 1; foreach (IResultColumn srcCol in srcResultColumns) { ImportResultColumn(srcCol, destTab); } }
override public IResultColumns ResultColumnsFromSQL(string sql) { IResultColumns columns = null; using (FbConnection cn = new FbConnection(dbRoot.ConnectionString)) { cn.Open(); columns = ResultColumnsFromSQL(sql, cn); } return(columns); }
private void ExpandResultColumns(IResultColumns resultColumns, TreeNode node) { if (HasBlankNode(node)) { foreach (IResultColumn resultColumn in resultColumns) { TreeNode n = new TreeNode(resultColumn.Name); n.Tag = new NodeData(NodeType.RESULTCOLUMN, resultColumn); n.SelectedImageIndex = n.ImageIndex = 20; node.Nodes.Add(n); } } }
private void ExpandResultColumns(IResultColumns resultColumns, TreeNode node) { if(HasBlankNode(node)) { foreach(IResultColumn resultColumn in resultColumns) { TreeNode n = new TreeNode(resultColumn.Name); n.Tag = new NodeData(NodeType.RESULTCOLUMN, resultColumn); n.SelectedImageIndex = n.ImageIndex = 20; node.Nodes.Add(n); } } }
public static void ImportResultColumns(IResultColumns srcResultColumns, TableDefinitionRow destTab) { nextPkNumber = 1; foreach (IResultColumn srcCol in srcResultColumns) ImportResultColumn(srcCol, destTab); }