private void Create(IValueManager manager) { TableType = TableVar.DataType; RowType = TableType.RowType; Schema.RowType keyRowType; Schema.RowType dataRowType; // Create the map index required to store data as described by the given table variable keyRowType = new Schema.RowType(Key.Columns); dataRowType = new Schema.RowType(); foreach (Schema.Column column in TableVar.DataType.Columns) { dataRowType.Columns.Add(new Schema.Column(column.Name, column.DataType)); } Index = new NativeRowMap ( Key, EqualitySorts, keyRowType, dataRowType ); }
public NativeRowMapEqualityComparer(NativeRowMap nativeRowMap) { _nativeRowMap = nativeRowMap; }