Exemplo n.º 1
0
        public static DFGenericColumn CreateGenericCol(string name, int rowCount)
        {
            Guid[] data = new Guid[rowCount];
            for (int i = 0; i < rowCount; i++)
            {
                data[i] = Guid.NewGuid();
            }
            DFGenericColumn col = new DFGenericColumn(name, data);
            Type t = col.ColumnType;

            return col;
        }
Exemplo n.º 2
0
        public static Frame CreateFrame(Guid[] values, string colName)
        {
            DFColumn[] cols = new DFColumn[1];

            cols[0] = new DFGenericColumn(colName, values);

            Frame frame = new Frame(Guid.NewGuid(), cols);

            return frame;
        }