public CdlTable(InMemoryTable table) { m_structure = table.Structure.CloneTable(); Rows = new CdlRowCollection(this); foreach (var row in table.Rows) { Rows.AddInternal(new CdlRow(this, row, CdlRowState.Unchanged, m_structure)); } m_defConvertor = new CdlValueConvertor(new DataFormatSettings()); }
public CdlTable(TableInfo structure) { m_structure = structure.CloneTable(); Rows = new CdlRowCollection(this); m_defConvertor = new CdlValueConvertor(new DataFormatSettings()); }