2 types derived from DataRow
System.Data.Entity.Design (2)
System\Data\Entity\Design\SSDLGenerator\RelationshipDetailsRow.cs (1)
21internal sealed class RelationshipDetailsRow : System.Data.DataRow
System\Data\Entity\Design\SSDLGenerator\TableDetailsRow.cs (1)
20internal sealed class TableDetailsRow : System.Data.DataRow
1 instantiation of DataRow
System.Data (1)
fx\src\data\System\Data\DataTable.cs (1)
3196return new DataRow(builder);
729 references to DataRow
System.Data (617)
fx\src\data\Microsoft\SqlServer\Server\MetadataUtilsSmi.cs (3)
652foreach (DataRow row in parent.Rows) { 688foreach (DataRow row in parent.Rows) { 737static internal SmiExtendedMetaData SmiMetaDataFromSchemaTableRow(DataRow schemaRow) {
fx\src\data\Microsoft\SqlServer\Server\ValueUtilsSmi.cs (1)
3649foreach(DataRow row in value.Rows) {
fx\src\data\System\Data\CodeGen\datacache.cs (3)
100System.Reflection.PropertyInfo[] props = typeof(DataRow).GetProperties(); 714CodeMemberMethod newRowFromBuilder = MethodDecl(typeof(DataRow), "NewRowFromBuilder", MemberAttributes.Family | MemberAttributes.Override); { 756rowClass.BaseTypes.Add(typeof(DataRow));
fx\src\data\System\Data\Common\AdapterUtil.cs (7)
1297static internal Exception UpdateConcurrencyViolation(StatementType statementType, int affected, int expected, DataRow[] dataRows) { 2328static internal DataRow[] SelectAdapterRows(DataTable dataTable, bool sorted) { 2334foreach(DataRow dataRow in rowCollection) { 2350DataRow[] dataRows = new DataRow[countAdded + countDeleted + countModifed]; 2356foreach(DataRow dataRow in rowCollection) { 2375foreach(DataRow dataRow in rowCollection) {
fx\src\data\System\Data\Common\DBCommandBuilder.cs (20)
505private void BuildCache(bool closeConnection, DataRow dataRow, bool useColumnsForParameterNames) { // V1.2.3300 703private DbCommand BuildDeleteCommand(DataTableMapping mappings, DataRow dataRow) { 722private DbCommand BuildInsertCommand(DataTableMapping mappings, DataRow dataRow) { 808private DbCommand BuildUpdateCommand(DataTableMapping mappings, DataRow dataRow) { 892DataRow dataRow, 1110private DataTableMapping GetTableMapping(DataRow dataRow ) { 1183return GetInsertCommand((DataRow)null, false); 1187return GetInsertCommand((DataRow)null, useColumnsForParameterNames); 1189internal DbCommand GetInsertCommand(DataRow dataRow, bool useColumnsForParameterNames) { 1196return GetUpdateCommand((DataRow)null, false); 1199return GetUpdateCommand((DataRow)null, useColumnsForParameterNames); 1201internal DbCommand GetUpdateCommand(DataRow dataRow, bool useColumnsForParameterNames) { 1208return GetDeleteCommand((DataRow)null, false); 1211return GetDeleteCommand((DataRow)null, useColumnsForParameterNames); 1213internal DbCommand GetDeleteCommand(DataRow dataRow, bool useColumnsForParameterNames) { 1219private object GetColumnValue(DataRow row, String columnName, DataTableMapping mappings, DataRowVersion version) { 1223private object GetColumnValue(DataRow row, DataColumn column, DataRowVersion version) { 1231private DataColumn GetDataColumn(string columnName, DataTableMapping tablemapping, DataRow row) { 1425DataRow datarow = rowUpdatingEvent.Row; 1460abstract protected void ApplyParameterInfo(DbParameter parameter, DataRow row, StatementType statementType, bool whereClause); // V1.2.3300
fx\src\data\System\Data\Common\DbDataAdapter.cs (24)
34internal DataRow Row; // the row that the command is intended to update 228virtual protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) { // V1.0.3300 232virtual protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) { // V1.0.3300 628private void ParameterInput(IDataParameterCollection parameters, StatementType typeIndex, DataRow row, DataTableMapping mappings) { 657private void ParameterOutput(IDataParameter parameter, DataRow row, DataTableMapping mappings, MissingMappingAction missingMapping, MissingSchemaAction missingSchema) { 686private void ParameterOutput(IDataParameterCollection parameters, DataRow row, DataTableMapping mappings) { 711public int Update(DataRow[] dataRows) { // V1.0.3300 804virtual protected int Update(DataRow[] dataRows, DataTableMapping tableMapping) { // V1.0.3300 834DataRow[] rowBatch = new DataRow[maxBatchCommands]; 847foreach(DataRow dataRow in dataRows) { 1098DataRow[] finalRowBatch = rowBatch; 1101finalRowBatch = new DataRow[commandCount]; 1173List<DataRow> rows = null; 1196rows = new List<DataRow>(); 1198batchCommands[bc].Errors = ADP.UpdateConcurrencyViolation(batchCommands[bc].StatementType, 0, 1, new DataRow[] { rowUpdatedEvent.Rows[bc] }); 1229DataRow[] rowsInError = (null != rows) ? rows.ToArray() : rowUpdatedEvent.Rows; 1259DataRow[] dataRows = ADP.SelectAdapterRows(dataTable, false); 1341rowUpdatedEvent.Errors = ADP.UpdateConcurrencyViolation(cmdIndex, rowUpdatedEvent.RecordsAffected, 1, new DataRow[] { rowUpdatedEvent.Row }); // MDAC 55735 1385DataRow row = batchCommands[i].Row; 1413DataRow row = batchCommands[i].Row; 1427DataRow row = batchCommands[i].Row; 1448DataRow row = batchCommands[i].Row; 1457private void UpdatingRowStatusErrors(RowUpdatingEventArgs rowUpdatedEvent, DataRow dataRow) {
fx\src\data\System\Data\Common\DbProviderFactories.cs (3)
46DataRow providerRow = providerTable.Rows.Find(providerInvariantName); 54static public DbProviderFactory GetFactory(DataRow providerRow) { 165DataRow row = dataTable.NewRow();
fx\src\data\System\Data\Common\DbProviderFactoriesConfigurationHandler.cs (2)
231DataRow values = config.NewRow(); 248DataRow row = config.Rows.Find(invr);
fx\src\data\System\Data\Common\DBSchemaRow.cs (4)
20DataRow dataRow; 35DataRow[] dataRows = dataTable.Select(null, "ColumnOrdinal ASC", rowStates); 46internal DbSchemaRow(DbSchemaTable schemaTable, DataRow dataRow) { 51internal DataRow DataRow {
fx\src\data\System\Data\Common\RowUpdatedEventArgs.cs (10)
26private DataRow _dataRow; 27private DataRow[] _dataRows; 32public RowUpdatedEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) { 70public DataRow Row { 76internal DataRow[] Rows { 84DataRow[] dataRows = _dataRows; 119internal void AdapterInit(DataRow[] dataRows) { 132public void CopyToRows(DataRow[] array) { 136public void CopyToRows(DataRow[] array, int arrayIndex) { 137DataRow[] dataRows = _dataRows;
fx\src\data\System\Data\Common\RowUpdatingEventArgs.cs (3)
24private DataRow _dataRow; 27public RowUpdatingEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) { 75public DataRow Row {
fx\src\data\System\Data\Constraint.cs (1)
135internal abstract void CheckConstraint(DataRow row, DataRowAction action);
fx\src\data\System\Data\DataColumn.cs (11)
484internal string GetColumnValueAsString(DataRow row, DataRowVersion version) { 1141private DataRow GetDataRow(int index) { 1173DataRow dr = GetDataRow(record); 1199DataRow dr = GetDataRow(record); 1363internal void CheckColumnConstraint(DataRow row, DataRowAction action) { 1373foreach (DataRow dr in Table.Rows) { 1384internal void CheckMaxLength(DataRow dr) { 1403foreach (DataRow dr in this.table.Rows) { 1420internal void CheckNullable(DataRow row) { 1632foreach (DataRow dr in Table.Rows) { 1662DataRow[] rows = index.GetRows(index.FindRecords(DBNull.Value));
fx\src\data\System\Data\DataColumnChangeEvent.cs (4)
20private readonly DataRow _row; 24internal DataColumnChangeEventArgs(DataRow row) { 33public DataColumnChangeEventArgs(DataRow row, DataColumn column, object value) { 51public DataRow Row {
fx\src\data\System\Data\DataError.cs (1)
15/// <para>Represents an custom error that can be associated with a <see cref='System.Data.DataRow'/>.</para>
fx\src\data\System\Data\DataRelation.cs (10)
244internal static DataRow[] GetChildRows(DataKey parentKey, DataKey childKey, DataRow parentRow, DataRowVersion version) { 257internal static DataRow[] GetParentRows(DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version) { 267internal static DataRow GetParentRow(DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version) { 299internal void SetParentRowRecords(DataRow childRow, DataRow parentRow) { 504foreach(DataRow row in ChildTable.Rows) 512foreach(DataRow row in ChildTable.Rows)
fx\src\data\System\Data\DataRow.cs (30)
216DataRow parent = this.GetParentRow(rel); 233DataRow row = this.GetParentRow(rel); 487/// since the last time <see cref='System.Data.DataRow.AcceptChanges'/> was called.</para> 516/// <para>Begins an edit operation on a <see cref='System.Data.DataRow'/>object.</para> 702/// Clears the errors for the row, including the <see cref='System.Data.DataRow.RowError'/> 703/// and errors set with <see cref='System.Data.DataRow.SetColumnError(DataColumn, string)'/> 739public DataRow[] GetChildRows(string relationName) { 743public DataRow[] GetChildRows(string relationName, DataRowVersion version) { 748/// <para>Gets the child rows of this <see cref='System.Data.DataRow'/> using the 752public DataRow[] GetChildRows(DataRelation relation) { 757/// <para>Gets the child rows of this <see cref='System.Data.DataRow'/> using the specified <see cref='System.Data.DataRelation'/> and the specified <see cref='System.Data.DataRowVersion'/></para> 759public DataRow[] GetChildRows(DataRelation relation, DataRowVersion version) { 781public DataRow GetParentRow(string relationName) { 785public DataRow GetParentRow(string relationName, DataRowVersion version) { 790/// <para>Gets the parent row of this <see cref='System.Data.DataRow'/> using the specified <see cref='System.Data.DataRelation'/> .</para> 792public DataRow GetParentRow(DataRelation relation) { 797/// <para>Gets the parent row of this <see cref='System.Data.DataRow'/> 800public DataRow GetParentRow(DataRelation relation, DataRowVersion version) { 817internal DataRow GetNestedParentRow(DataRowVersion version) { 825DataRow row = this.GetParentRow(rel, version); 838public DataRow[] GetParentRows(string relationName) { 845public DataRow[] GetParentRows(string relationName, DataRowVersion version) { 851/// Gets the parent rows of this <see cref='System.Data.DataRow'/> using the specified <see cref='System.Data.DataRelation'/> . 854public DataRow[] GetParentRows(DataRelation relation) { 860/// Gets the parent rows of this <see cref='System.Data.DataRow'/> using the specified <see cref='System.Data.DataRelation'/> . 863public DataRow[] GetParentRows(DataRelation relation, DataRowVersion version) { 1081/// Rejects all changes made to the row since <see cref='System.Data.DataRow.AcceptChanges'/> 1159internal void SetNestedParentRow(DataRow parentRow, bool setNonNested) { 1184public void SetParentRow(DataRow parentRow) { 1193public void SetParentRow(DataRow parentRow, DataRelation relation) {
fx\src\data\System\Data\DataRowChangeEvent.cs (4)
16private DataRow row; 24public DataRowChangeEventArgs(DataRow row, DataRowAction action) { 34public DataRow Row { 42/// Gets the action that has occurred on a <see cref='System.Data.DataRow'/>.
fx\src\data\System\Data\DataRowCollection.cs (24)
18private sealed class DataRowTree : RBTree<DataRow> { 22protected override int CompareNode (DataRow record1, DataRow record2) { 25protected override int CompareSateliteTreeNode (DataRow record1, DataRow record2) { 50public DataRow this[int index] { 57/// <para>Adds the specified <see cref='System.Data.DataRow'/> to the <see cref='System.Data.DataRowCollection'/> object.</para> 59public void Add(DataRow row) { 63public void InsertAt(DataRow row, int pos) { 72internal void DiffInsertAt(DataRow row, int pos) { 100public Int32 IndexOf(DataRow row) { 110internal DataRow AddWithColumnEvents(params object[] values) { 111DataRow row = table.NewRow(-1); 117public DataRow Add(params object[] values) { 119DataRow row = table.NewRow(record); 124internal void ArrayAdd(DataRow row) { 128internal void ArrayInsert(DataRow row, int pos) { 136internal void ArrayRemove(DataRow row) { 149public DataRow Find(object key) { 156public DataRow Find(object[] keys) { 179/// Gets a value indicating if the <see cref='System.Data.DataRow'/> with 191public void CopyTo(DataRow[] array, int index) { 200/// <para>Removes the specified <see cref='System.Data.DataRow'/> from the collection.</para> 202public void Remove(DataRow row) {
fx\src\data\System\Data\DataRowCreatedEventHandler.cs (1)
16internal delegate void DataRowCreatedEventHandler(object sender, DataRow r);
fx\src\data\System\Data\DataRowView.cs (5)
16private readonly DataRow _row; 29internal DataRowView(DataView dataView, DataRow row) 126/// Gets the current version description of the <see cref="DataRow"/> 208public DataRow Row { 219DataRow tmpRow = Row;
fx\src\data\System\Data\DataSet.cs (10)
1193foreach (DataRow row in table.Rows) 1314DataRow row = rows[rowIndex]; 1334private void MarkRelatedRowsAsModified(TableChanges[] bitMatrix, DataRow row) { 1338DataRow[] relatedRows = row.GetParentRows(relations[relatedIndex], DataRowVersion.Current); 1340foreach (DataRow relatedRow in relatedRows) { 1463DataRow row = table.Rows[j]; 2289foreach (DataRow r in t.Rows) { 2827public void Merge(DataRow[] rows) 2842public void Merge(DataRow[] rows, bool preserveChanges, MissingSchemaAction missingSchemaAction) 2897internal void OnDataRowCreated(DataRow row) {
fx\src\data\System\Data\DataTable.cs (122)
45/// Monotonically increasing number representing the order <see cref="DataRow"/> have been added to <see cref="DataRowCollection"/>. 47/// <remarks>This limits <see cref="DataRowCollection.Add(DataRow)"/> to <see cref="Int32.MaxValue"/> operations.</remarks> 104internal readonly static DataRow[] zeroRows = new DataRow[0]; 128private DataRow[] EmptyDataRowArray; 635DataRow row = Rows[i]; 732DataRow[] rowArr = new DataRow[recordCount]; 735DataRow row = NewEmptyRow(); 808DataRow row = Rows[rowIndex]; 834DataRow row = Rows[rowIndex]; 1981internal DataRow FindByIndex(Index ndx, object[] key) { 1989internal DataRow FindMergeTarget(DataRow row, DataKey key, Index ndx) { 1990DataRow targetRow = null; 2002private void SetMergeRecords(DataRow row, int newRecord, int oldRecord, DataRowAction action) { 2016internal DataRow MergeRow(DataRow row, DataRow targetRow, bool preserveChanges, Index idxSearch) { 2116DataRow[] oldRows = new DataRow[Rows.Count]; 2320foreach (DataRow row in Rows) 2403/// Occurs when the <see cref='System.Data.DataRow'/> is changing. 2510internal DataRow AddRecords(int oldRecord, int newRecord) { 2511DataRow row; 2527internal void AddRow(DataRow row) { 2531internal void AddRow(DataRow row, int proposedID) { 2535internal void InsertRow(DataRow row, int proposedID, int pos) { 2539internal void InsertRow(DataRow row, long proposedID, int pos, bool fireEvent) { 2600internal void CheckNotModifying(DataRow row) { 2645foreach(DataRow row in Rows) { 2670internal void CascadeAll(DataRow row, DataRowAction action) { 2678internal void CommitRow(DataRow row) { 2731DataRow[] rows = Select(filter, "", DataViewRowState.CurrentRows); 2742internal void CopyRow(DataTable table, DataRow row) 2760DataRow targetRow = table.AddRecords(oldRecord, newRecord); 2776internal void DeleteRow(DataRow row) { 2789internal DataRow FindByPrimaryKey(object[] values) { 2794internal DataRow FindByPrimaryKey(object value) { 2799private DataRow FindRow(DataKey key, object[] values) { 2807private DataRow FindRow(DataKey key, object value) { 2838DataRow row = null; 2862DataRow row = null; 2884/// <para>Returns an array of <see cref='System.Data.DataRow'/> objects that contain errors.</para> 2886public DataRow[] GetErrors() { 2887List<DataRow> errorList = new List<DataRow>(); 2890DataRow row = Rows[i]; 2895DataRow[] temp = NewRowArray(errorList.Count); 2954public void ImportRow(DataRow row) 2976DataRow targetRow = AddRecords(oldRecord, newRecord); 2996internal void InsertRow(DataRow row, long proposedID) { 3126internal DataRow NewEmptyRow() { 3128DataRow dr = NewRowFromBuilder( rowBuilder ); 3135private DataRow NewUninitializedRow() { 3136DataRow dr = NewRow(NewUninitializedRecord()); 3141/// <para>Creates a new <see cref='System.Data.DataRow'/> 3144public DataRow NewRow() { 3145DataRow dr = NewRow(-1); 3151internal DataRow CreateEmptyRow() { 3152DataRow row = this.NewUninitializedRow(); 3172private void NewRowCreated(DataRow row) { 3179internal DataRow NewRow(int record) { 3185DataRow row = NewRowFromBuilder( rowBuilder ); 3195protected virtual DataRow NewRowFromBuilder(DataRowBuilder builder) { 3203return typeof(DataRow); 3208protected internal DataRow[] NewRowArray(int size) { 3212EmptyDataRowArray = (DataRow[]) Array.CreateInstance(GetRowType(), 0); 3216return (DataRow[]) Array.CreateInstance(GetRowType(), size); 3219return ((0 == size) ? DataTable.zeroRows : new DataRow[size]); 3264private DataRowChangeEventArgs OnRowChanged(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction) { 3274private DataRowChangeEventArgs OnRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction) { 3497internal int[] RemoveRecordFromIndexes(DataRow row, DataRowVersion version) { 3525internal int[] InsertRecordToIndexes(DataRow row, DataRowVersion version) { 3545internal void SilentlySetValue(DataRow dr, DataColumn dc, DataRowVersion version, object newValue) { 3584DataRow[] oldRows = new DataRow[Rows.Count]; 3597internal void RemoveRow(DataRow row, bool check) { 3701internal void RollbackRow(DataRow row) { 3706private DataRowChangeEventArgs RaiseRowChanged(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction) { 3730private DataRowChangeEventArgs RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction) { 3759private DataRowChangeEventArgs RaiseRowChanging(DataRowChangeEventArgs args, DataRow eRow, DataRowAction eAction, bool fireEvent) { 3792/// <para>Returns an array of all <see cref='System.Data.DataRow'/> objects.</para> 3794public DataRow[] Select() { 3800/// <para>Returns an array of all <see cref='System.Data.DataRow'/> objects that match the filter criteria in order of 3803public DataRow[] Select(string filterExpression) { 3809/// <para>Returns an array of all <see cref='System.Data.DataRow'/> objects that match the filter criteria, in the the 3812public DataRow[] Select(string filterExpression, string sort) { 3818/// <para>Returns an array of all <see cref='System.Data.DataRow'/> objects that match the filter in the order of the 3821public DataRow[] Select(string filterExpression, string sort, DataViewRowState recordStates) { 3826internal void SetNewRecord(DataRow row, int proposedRecord, DataRowAction action = DataRowAction.Change, bool isInMerge = false, bool fireEvent = true, bool suppressEnsurePropertyChanged = false) { 3834private void SetNewRecordWorker(DataRow row, int proposedRecord, DataRowAction action, bool isInMerge, bool suppressEnsurePropertyChanged, 3904List<DataRow> cachedRows = null; 3909cachedRows = new List<DataRow>(); 4031internal void SetOldRecord(DataRow row, int proposedRecord) { 4208public DataRow LoadDataRow(object[] values, bool fAcceptChanges) { 4212DataRow row; 4256public DataRow LoadDataRow(object[] values, LoadOption loadOption) { 4289DataRow dataRow = LoadRow(values, loadOption, indextoUse);// if indextoUse == null, it means we dont have PK, 4299internal DataRow UpdatingAdd(object[] values) { 4310DataRow row = this.recordManager[resultRecord]; 4316DataRow row2 = NewRow(record); 4324internal bool UpdatingCurrent(DataRow row, DataRowAction action) { 4489private DataRow LoadRow(object[] values, LoadOption loadOption, Index searchIndex) { 4491DataRow dataRow = null; 4575private void SetDataRowWithLoadOption (DataRow dataRow, int recordNo, LoadOption loadOption, bool checkReadOnly) { 5656foreach (DataRow r in tableList[i].Rows) { 6172foreach(DataRow row in Rows) { 6187internal void EvaluateExpressions(DataRow row, DataRowAction action, List<DataRow> cachedRows) { 6208DataRow tableRow = Rows[j]; 6216DataRow tableRow = Rows[j]; 6229DataRow tableRow = Rows[j]; 6241foreach (DataRow relatedRow in cachedRows) { 6264DataRow row = column.table.Rows[j]; 6279DataRow row = column.table.Rows[j]; 6309internal void EvaluateDependentExpressions(List<DataColumn> columns, DataRow row, DataRowVersion version, List<DataRow> cachedRows) { 6326DataRow dr = Rows[j]; 6361foreach (DataRow cachedRow in cachedRows) { 6379foreach (DataRow parentRow in row.GetParentRows(relation, version)) { 6396foreach (DataRow childRow in row.GetChildRows(relation, version)) {
fx\src\data\System\Data\DataTableNewRowEvent.cs (3)
15private readonly DataRow dataRow; 17public DataTableNewRowEventArgs(DataRow dataRow) { 21public DataRow Row{
fx\src\data\System\Data\DataTableReader.cs (2)
26private DataRow currentDataRow = null; 678DataRow dr = tempSchemaTable.NewRow();
fx\src\data\System\Data\DataView.cs (27)
41private System.Comparison<DataRow> _comparison; 57internal DataRow addNewRow; 80private Dictionary<DataRow, DataRowView> rowViewCache = new Dictionary<DataRow, DataRowView>(DataRowReferenceComparer.Default); 85private readonly Dictionary<DataRow, DataRowView> rowViewBuffer = new Dictionary<DataRow, DataRowView>(DataRowReferenceComparer.Default); 87private sealed class DataRowReferenceComparer : IEqualityComparer<DataRow> { 92public bool Equals(DataRow x, DataRow y) { 95public int GetHashCode(DataRow obj) { 170internal DataView(DataTable table, System.Predicate<DataRow> predicate, System.Comparison<DataRow> comparison, DataViewRowState RowState) { 382internal System.Predicate<DataRow> RowPredicate { 396internal readonly System.Predicate<DataRow> PredicateFilter; 399internal RowPredicateFilter(System.Predicate<DataRow> predicate) { 405bool IFilter.Invoke(DataRow row, DataRowVersion version) { 488internal System.Comparison<DataRow> SortComparison { 725internal void Delete(DataRow row) { 817internal Range FindRecords<TKey,TRow>(Index.ComparisonBySelector<TKey,TRow> comparison, TKey key) where TRow:DataRow 839DataRow newRow = addNewRow; 1272internal DataRow GetRow(int index) { 1289private DataRowView GetRowView(DataRow dr) { 1324internal void MaintainDataView(ListChangedType changedType, DataRow row, bool trackAddRemove) { 1409DataRow dr = GetRow(e.NewIndex); 1478Dictionary<DataRow, DataRowView> rvc = new Dictionary<DataRow, DataRowView>(CountFromIndex, DataRowReferenceComparer.Default); 1486DataRow row = table.recordManager[iterator.Current];
fx\src\data\System\Data\DataViewListener.cs (1)
63internal void MaintainDataView(ListChangedType changedType, DataRow row, bool trackAddRemove) {
fx\src\data\System\Data\DataViewRowState.cs (1)
15/// <para>Describes the version of data in a <see cref='System.Data.DataRow'/>.</para>
fx\src\data\System\Data\DBConcurrencyException.cs (9)
17private DataRow[] _dataRows; 29public DBConcurrencyException(string message, Exception inner, DataRow[] dataRows) : base(message, inner) { 48public DataRow Row { // MDAC 55735 50DataRow[] rows = _dataRows; 54_dataRows = new DataRow[1] { value }; 60DataRow[] dataRows = _dataRows; 65public void CopyToRows(DataRow[] array) { 69public void CopyToRows(DataRow[] array, int arrayIndex) { 70DataRow[] dataRows = _dataRows;
fx\src\data\System\Data\Filter\AggregateNode.cs (3)
152internal override object Eval(DataRow row, DataRowVersion version) { 156DataRow[] rows; 159rows = new DataRow[childTable.Rows.Count];
fx\src\data\System\Data\Filter\BinaryNode.cs (4)
41internal override object Eval(DataRow row, DataRowVersion version) { 122private static object Eval(ExpressionNode expr, DataRow row, DataRowVersion version, int[] recordNos) { 237private object EvalBinaryOp(int op, ExpressionNode left, ExpressionNode right, DataRow row, DataRowVersion version, int[] recordNos) { 1218internal override object Eval(DataRow row, DataRowVersion version) {
fx\src\data\System\Data\Filter\ConstNode.cs (1)
75internal override object Eval(DataRow row, DataRowVersion version) {
fx\src\data\System\Data\Filter\DataExpression.cs (6)
103return Evaluate((DataRow)null, DataRowVersion.Default); 106internal object Evaluate(DataRow row, DataRowVersion version) { 141internal object Evaluate(DataRow[] rows) { 146internal object Evaluate(DataRow[] rows, DataRowVersion version) { 152foreach(DataRow row in rows) { 167public bool Invoke(DataRow row, DataRowVersion version) {
fx\src\data\System\Data\Filter\ExpressionNode.cs (1)
46internal abstract object Eval(DataRow row, DataRowVersion version);
fx\src\data\System\Data\Filter\FunctionNode.cs (3)
102return Eval((DataRow)null, DataRowVersion.Default); 105internal override object Eval(DataRow row, DataRowVersion version) { 254private object EvalFunction(FunctionId id, object[] argumentValues, DataRow row, DataRowVersion version) {
fx\src\data\System\Data\Filter\IFilter.cs (1)
22bool Invoke(DataRow row, DataRowVersion version);
fx\src\data\System\Data\Filter\LookupNode.cs (2)
87internal override object Eval(DataRow row, DataRowVersion version) { 91DataRow parent = row.GetParentRow(relation, version);
fx\src\data\System\Data\Filter\NameNode.cs (1)
83internal override object Eval(DataRow row, DataRowVersion version) {
fx\src\data\System\Data\Filter\UnaryNode.cs (1)
37internal override object Eval(DataRow row, DataRowVersion version) {
fx\src\data\System\Data\Filter\ZeroOpNode.cs (1)
45internal override object Eval(DataRow row, DataRowVersion version) {
fx\src\data\System\Data\ForeignKeyConstraint.cs (19)
205DataRow[] rows = childIndex.GetRows(childIndex.FindRecords(childValues)); 235internal void CascadeCommit(DataRow row) { 250DataRow[] rows = childIndex.GetRows(range); 251foreach(DataRow childRow in rows) { 262internal void CascadeDelete(DataRow row) { 291DataRow[] rows = childIndex.GetRows(range); 294DataRow r = rows[j]; 309DataRow[] rows = childIndex.GetRows(range); 325DataRow[] rows = childIndex.GetRows(range); 342internal void CascadeRollback(DataRow row) { 354DataRow[] rows = childIndex.GetRows(range); 377internal void CascadeUpdate(DataRow row) { 404DataRow[] rows = childIndex.GetRows(range); 420DataRow[] rows = childIndex.GetRows(range); 435DataRow[] rows = childIndex.GetRows(range); 457internal void CheckCanRemoveParentRow(DataRow row) { 466internal void CheckCascade(DataRow row, DataRowAction action) { 499internal override void CheckConstraint(DataRow childRow, DataRowAction action) { 512DataRow parentRow = DataRelation.GetParentRow(this.ParentKey, this.ChildKey, childRow, version);
fx\src\data\System\Data\Merger.cs (5)
187foreach(DataRow sourceRow in src.Rows) { 188DataRow targetRow = null; 202internal void MergeRows(DataRow[] rows) { 212DataRow row = rows[i]; 253DataRow targetRow = null;
fx\src\data\System\Data\Odbc\OdbcCommandBuilder.cs (1)
85override protected void ApplyParameterInfo(DbParameter parameter, DataRow datarow, StatementType statementType, bool whereClause) {
fx\src\data\System\Data\Odbc\OdbcDataAdapter.cs (2)
153override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) { 157override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) {
fx\src\data\System\Data\Odbc\OdbcDataReader.cs (1)
2001DataRow row = schematable.NewRow();
fx\src\data\System\Data\Odbc\odbcmetadatafactory.cs (6)
92foreach (DataRow collection in metaDataCollectionsTable.Rows){ 112foreach (DataRow restriction in restrictionsTable.Rows) { 194DataRow dataTypesRow; 555DataRow dataSourceInformation = dataSourceInformationTable.Rows[0]; 949DataRow row = reservedWordsTable.NewRow(); 1023foreach (DataRow row in schemaTable.Rows){
fx\src\data\System\Data\Odbc\OdbcRowUpdatingEvent.cs (2)
30public OdbcRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) 53public OdbcRowUpdatedEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
fx\src\data\System\Data\OleDb\OleDbCommandBuilder.cs (3)
80override protected void ApplyParameterInfo(DbParameter parameter, DataRow datarow, StatementType statementType, bool whereClause) { 206DataRow[] dataRows = table.Select(null, ODB.ORDINAL_POSITION_ASC, DataViewRowState.CurrentRows); // MDAC 70928 209DataRow dataRow = dataRows[index];
fx\src\data\System\Data\OleDb\OleDbConnectionInternal.cs (2)
403DataRow row = table.NewRow(); 462DataRow row = table.NewRow();
fx\src\data\System\Data\OleDb\OledbConnectionStringbuilder.cs (1)
635foreach(DataRow row in table.Rows) {
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
152override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) { 156override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) {
fx\src\data\System\Data\OleDb\OleDbDataReader.cs (3)
364DataRow newRow = schemaTable.NewRow(); 1862foreach(DataRow dataRow in table.Rows) { 1929foreach(DataRow dataRow in table.Rows) {
fx\src\data\System\Data\OleDb\OleDbMetaDataFactory.cs (8)
103foreach (DataRow collection in metaDataCollectionsTable.Rows){ 142foreach (DataRow restriction in restrictionsTable.Rows) { 199DataRow dataSourceInformation = dataSourceInformationTable.Rows[0]; 276DataRow[] tableNameRow = infoLiterals.Select("Literal = " + ODB.DBLITERAL_TABLE_NAME.ToString(CultureInfo.InvariantCulture)); 395foreach (DataRow sourceRow in providerTypesTable.Rows) { 396DataRow newRow = dataTypesTable.NewRow(); 515foreach (DataRow row in metaDataCollectionsTable.Rows){ 615private void SetIdentifierCase(string columnName, int propertyID, DataRow row, OleDbConnection connection) {
fx\src\data\System\Data\OleDb\OleDbRowUpdatedEvent.cs (1)
17public OleDbRowUpdatedEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
fx\src\data\System\Data\OleDb\OleDbRowUpdatingEvent.cs (1)
17public OleDbRowUpdatingEventArgs(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
fx\src\data\System\Data\ProviderBase\DbMetaDataFactory.cs (11)
83DataRow newRow; 97foreach (DataRow row in sourceTable.Rows) { 123private DataTable ExecuteCommand(DataRow requestedCollectionRow, String[] restrictions, DbConnection connection){ 189foreach (DataRow row in schemaTable.Rows){ 238internal DataRow FindMetaDataCollectionRow(string collectionName) { 256DataRow requestedCollectionRow = null; 264foreach (DataRow row in metaDataCollectionsTable.Rows){ 327DataRow dataSourceInfoRow = dataSourceInfoTable.Rows[0]; 360foreach (DataRow restriction in restrictionsTable.Rows) { 386DataRow requestedCollectionRow = null; 487private bool SupportedByCurrentVersion(DataRow requestedCollectionRow){
fx\src\data\System\Data\ProviderBase\SchemaMapping.cs (4)
176internal void ApplyToDataRow(DataRow dataRow) { 345DataRow dataRow; 385internal int LoadDataRowChapters(DataRow dataRow) { 979private void AddAdditionalProperties(DataColumn targetColumn, DataRow schemaRow) {
fx\src\data\System\Data\RecordManager.cs (5)
22DataRow[] rows; 38DataRow[] newRows = table.NewRowArray(recordCapacity); 162internal DataRow this[int record] { 231internal void SetRowCache(DataRow[] newRows) { 247internal void VerifyRecord(int record, DataRow row) {
fx\src\data\System\Data\RelatedView.cs (1)
55public bool Invoke(DataRow row, DataRowVersion version) {
fx\src\data\System\Data\Select.cs (10)
423public DataRow[] SelectRows() { 489public DataRow[] GetRows() { 490DataRow[] newRows = table.NewRowArray(recordCount); 498DataRow row = table.recordManager[record]; 531private int Eval(BinaryNode expr, DataRow row, DataRowVersion version) { 600DataRow row = table.recordManager[record]; 694private DataRow[] GetLinearFilteredRows(Range range) { 695DataRow[] resultRows; 700List<DataRow> matchingRows = new List<DataRow>();
fx\src\data\System\Data\Selection.cs (14)
76private readonly System.Comparison<DataRow> _comparison; 100public Index(DataTable table, System.Comparison<DataRow> comparison, DataViewRowState recordStates, IFilter rowFilter) 112private Index(DataTable table, IndexField[] indexFields, System.Comparison<DataRow> comparison, DataViewRowState recordStates, IFilter rowFilter) { 220DataRow row = table.recordManager[record]; 456DataRow row = table.recordManager[record]; 603internal delegate int ComparisonBySelector<TKey,TRow>(TKey key, TRow row) where TRow:DataRow; 606internal Range FindRecords<TKey,TRow>(ComparisonBySelector<TKey,TRow> comparison, TKey key) where TRow:DataRow 667public DataRow GetRow(int i) { 671public DataRow[] GetRows(Object[] values) { 675public DataRow[] GetRows(Range range) { 676DataRow[] newRows = table.NewRowArray(range.Count); 700foreach(DataRow b in table.Rows) 756DataRow row = table.recordManager[record]; 824delegate(DataViewListener listener, ListChangedType type, DataRow row, bool track)
fx\src\data\System\Data\Sql\SqlDataSourceEnumerator.cs (1)
101DataRow dataRow = null;
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (6)
243private DataRow _currentRow; 1047_currentRow = (DataRow)_rowEnumerator.Current; 1555public void WriteToServer(DataRow[] rows) { 1593public Task WriteToServerAsync(DataRow[] rows) { 1597public Task WriteToServerAsync(DataRow[] rows, CancellationToken cancellationToken) { 1896index = ((DataRow[])_rowSource)[0].Table.Columns.IndexOf(unquotedColumnName);
fx\src\data\System\Data\SqlClient\SqlCommandBuilder.cs (1)
160override protected void ApplyParameterInfo(DbParameter parameter, DataRow datarow, StatementType statementType, bool whereClause) {
fx\src\data\System\Data\SqlClient\SqlConnectionStringBuilder.cs (1)
1411foreach (DataRow row in databaseTable.Rows) {
fx\src\data\System\Data\SqlClient\SqlDataAdapter.cs (2)
182override protected RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) { 186override protected RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping) {
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (1)
510DataRow schemaRow = schemaTable.NewRow();
fx\src\data\System\Data\SqlClient\SqlDataReaderSmi.cs (1)
560DataRow schemaRow = schemaTable.NewRow();
fx\src\data\System\Data\SqlClient\sqlmetadatafactory.cs (2)
69DataRow newRow = null; 192DataRow newRow = null;
fx\src\data\System\Data\SqlClient\SqlParameter.cs (1)
1283DataRow row = schema.Rows[rowOrdinal];
fx\src\data\System\Data\SqlClient\SqlRowUpdatedEvent.cs (1)
18public SqlRowUpdatedEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
fx\src\data\System\Data\SqlClient\SqlRowUpdatingEvent.cs (1)
16public SqlRowUpdatingEventArgs(DataRow row, IDbCommand command, StatementType statementType, DataTableMapping tableMapping)
fx\src\data\System\Data\UniqueConstraint.cs (2)
218DataRow[] rows = index.GetRows(r); 235internal override void CheckConstraint(DataRow row, DataRowAction action) {
fx\src\data\System\Data\XmlDataLoader.cs (17)
28DataRow topMostRow = null; 93private void AttachRows( DataRow parentRow, XmlNode parentElement ) { 100DataRow r = GetRowFromElement( e ); 187private DataColumn GetTextOnlyColumn( DataRow row ) { 198internal DataRow GetRowFromElement( XmlElement e ) { 199return(DataRow) nodeToRowMap[e]; 311DataRow topRow = null; 339private void LoadRowData(DataRow row, XmlElement rowElement) { 450private void LoadRows( DataRow parentRow, XmlNode parentElement ) { 466DataRow r = GetRowFromElement( e ); 490private void SetRowValueFromXmlText( DataRow row, DataColumn col, string xmlText ) { 666DataRow row = null; // Data row we're going to add to this table 795DataRow childRow = (DataRow) childRowsStack.Pop(); 827DataRow row = null; // Data row we're going to add to this table 1049DataRow childRow = (DataRow) childRowsStack.Pop();
fx\src\data\System\Data\XMLDiffLoader.cs (9)
76DataRow row; 104row = (DataRow)tableBefore.RowDiffId[diffId]; 124DataRow row; 152row = (DataRow)tableBefore.RowDiffId[diffId]; 185DataRow row = (DataRow)table.RowDiffId[diffId]; 223DataRow row = (DataRow)table.RowDiffId[diffId]; 226row = (DataRow)((DataTable)dt[i]).RowDiffId[diffId];
fx\src\data\System\Data\xmlsaver.cs (10)
2106DataRow row = table.Rows[rowNum]; 2154private void GenerateRow(DataRow row) { 2169DataRow parentRow = row.GetNestedParentRow(DataRowVersion.Original); 2206private void GenerateColumn(DataRow row, DataColumn col, DataRowVersion version) { 2402internal static bool RowHasErrors(DataRow row) { 2441foreach (DataRow row in tempTable.Rows) { 2505foreach (DataRow row in ((DataTable)_dTables[i]).Rows) { 2525private ArrayList GetNestedChildRelations(DataRow row) { 2537internal void XmlDataRowWriter(DataRow row, String encodedTableName) { 2672foreach( DataRow r in row.GetChildRows(dr) ) {
fx\src\data\System\NewXml\DataPointer.cs (6)
62private DataRow Row { 113private DataColumn NextColumn( DataRow row, DataColumn col, bool fAttribute, bool fNulls ) { 132private DataColumn NthColumn( DataRow row, bool fAttribute, int iColumn, bool fNulls ) { 143private int ColumnCount( DataRow row, bool fAttribute, bool fNulls ) { 460DataRow row = this.Row; 672DataRow row = rowElem.Row;
fx\src\data\System\NewXml\DataSetMappper.cs (4)
166DataRow row = be.Row; 183internal DataRow GetRowFromElement( XmlElement e ) { 189internal DataRow GetRowFromElement( XmlBoundElement be ) { 306DataRow row = GetRowFromElement( (XmlElement)n );
fx\src\data\System\NewXml\XmlBoundElement.cs (2)
23private DataRow row; 153internal DataRow Row {
fx\src\data\System\NewXml\XmlDataDocument.cs (59)
110internal void SyncRows( DataRow parentRow, XmlNode node, bool fAddRowsToTable) { 113DataRow r = be.Row; 143DataRow parentRow = null; 147DataRow r = be.Row; 215internal void Bind( DataRow r, XmlBoundElement e ) { 339DataRow row = dt.CreateEmptyRow(); 445DataRow rowDocElem = GetRowFromElement( docElem ); 504private void FixNestedChildren(DataRow row, XmlElement rowElement) { 506foreach( DataRow r in row.GetChildRows(dr) ) { 570private void FoliateIfDataPointers( DataRow row, XmlElement rowElement ) { 606DataRow row = node.Row; 670private XmlNode GetColumnInsertAfterLocation( DataRow row, DataColumn col, XmlBoundElement rowElement ) { 706private ArrayList GetNestedChildRelations(DataRow row) { 717private DataRow GetNestedParent(DataRow row) { 724private static DataRelation GetNestedParentRelation( DataRow row ) { 731private DataColumn GetTextOnlyColumn( DataRow row ) { 759public DataRow GetRowFromElement( XmlElement e ) { 763private XmlNode GetRowInsertBeforeLocation(DataRow row, XmlElement rowElement, XmlNode parentElement) { 764DataRow refRow = row; 775DataRow parentRow = GetNestedParent(row); 793public XmlElement GetElementFromRow( DataRow r ) { 1128foreach( DataRow r in t.Rows ) { 1171DataRow r = GetRowFromElement( be ); 1195internal void OnDataRowCreated( object oDataSet, DataRow row ) { 1204internal void OnDataRowCreatedSpecial( object oDataSet, DataRow row ) { 1213internal void OnNewRow( DataRow row ) { 1221private XmlBoundElement AttachBoundElementToDataRow( DataRow row ) { 1232private bool NeedXSI_NilAttr( DataRow row ) { 1241private void OnAddRow( DataRow row ) { 1253DataRow rowDocElem = GetRowFromElement( this.DocumentElement ); 1255DataRow parentRow = GetNestedParent( row ); 1266private void OnColumnValueChanged( DataRow row, DataColumn col, XmlBoundElement rowElement ) { 1428DataRow row = args.Row; 1447private void OnColumnValuesChanged( DataRow row, XmlBoundElement rowElement ) { 1470private void OnDeleteRow( DataRow row, XmlBoundElement rowElement ) { 1482private void OnDeletingRow( DataRow row, XmlBoundElement rowElement ) { 1536private void OnNestedParentChange(DataRow child, XmlBoundElement childElement, DataColumn childCol) { 1544DataRow parentRowInTree; 1549DataRow parentRowInRelation = GetNestedParent(child); 1746DataRow row = oldRowElem.Row; 1782DataRow row = args.Row; 1845DataRow row = args.Row; 2004private void OnUndeleteRow( DataRow row, XmlElement rowElement ) { 2013DataRow parentRowInRelation = GetNestedParent(row); 2139internal static void SetRowValueToNull( DataRow row, DataColumn col ) { 2148internal static void SetRowValueFromXmlText( DataRow row, DataColumn col, string xmlText ) { 2177DataRow row = rowElement.Row; 2216DataRow row = rowElement.Row; 2304private void UpdateAllColumns( DataRow row, XmlBoundElement rowElement ) { 2377private bool IsRowLive( DataRow row ) { 2380private static void SetNestedParentRow( DataRow childRow, DataRow parentRow ) { 2460DataRow row = rowElem.Row; 2519DataRow row = rowElem.Row; 2569DataRow row = rowElement.Row; 2583DataRow row = rowElement.Row; 2602DataRow childRow = childRowElem.Row; 2608DataRow parentRow = parentRowElem.Row;
fx\src\data\System\NewXml\XPathNodePointer.cs (18)
297DataRow row = this.Row; 331DataRow row = this.Row; 366DataRow row = curBoundElem.Row; 408private DataRow Row { 473private int ColumnCount( DataRow row, bool fAttribute ) { 507internal DataColumn NextColumn( DataRow row, DataColumn col, bool fAttribute ) { 527internal DataColumn PreviousColumn( DataRow row, DataColumn col, bool fAttribute ) { 679DataRow curRow = Row; 722DataRow curRow = Row; 748DataRow row = ((XmlBoundElement)parent).Row; 767DataRow curRow = null; 819DataRow curRow = Row; 856DataRow curRow = Row; 1205DataRow curRow = be.Row; 1285DataRow curRow = be.Row; 1338DataRow curRow = be.Row; 1419DataRow curRow = be.Row; 1483DataRow row = rowElem.Row;
System.Data.DataSetExtensions (64)
System\Data\DataRowComparer.cs (3)
26public static DataRowComparer<DataRow> Default { get { return DataRowComparer<DataRow>.Default; } } 128public sealed class DataRowComparer<TRow> : IEqualityComparer<TRow> where TRow : DataRow
System\Data\DataRowExtensions.cs (9)
33public static T Field<T>(this DataRow row, string columnName) { 53public static T Field<T>(this DataRow row, DataColumn column) { 73public static T Field<T>(this DataRow row, int columnIndex) { 96public static T Field<T>(this DataRow row, int columnIndex, DataRowVersion version) { 119public static T Field<T>(this DataRow row, string columnName, DataRowVersion version) { 142public static T Field<T>(this DataRow row, DataColumn column, DataRowVersion version) { 159public static void SetField<T>(this DataRow row, int columnIndex, T value) { 176public static void SetField<T>(this DataRow row, string columnName, T value) { 193public static void SetField<T>(this DataRow row, DataColumn column, T value) {
System\Data\DataTableExtensions.cs (8)
36public static EnumerableRowCollection<DataRow> AsEnumerable(this DataTable source) 39return new EnumerableRowCollection<DataRow>(source); 58where T : DataRow 68where T : DataRow 111where T : DataRow 119where T : DataRow 148DataRow current; 271public static DataView AsDataView<T>(this EnumerableRowCollection<T> source) where T : DataRow
System\Data\EnumerableRowCollection.cs (17)
168if ((null == _table) || !typeof(DataRow).IsAssignableFrom(typeof(TRow))) 177Func<DataRow, bool> finalPredicate = null; //Conjunction of all .Where(..) predicates 184delegate(DataRow row) 203delegate(DataRow row) 215delegate(DataRow row) 247delegate(DataRow row) //System.Predicate 251delegate(DataRow a, DataRow b) //Comparison for DV for Index creation 258delegate(object key, DataRow row) //Comparison_K_T for DV's Find() 265_sortExpression.CloneCast<DataRow>()); 273delegate(DataRow row) //System.Predicate 279_sortExpression.CloneCast<DataRow>()); 288delegate(DataRow a, DataRow b) 292delegate(object key, DataRow row) 296_sortExpression.CloneCast<DataRow>()); 300view = new LinqDataView(_table, _sortExpression.CloneCast<DataRow>());
System\Data\EnumerableRowCollectionExtensions.cs (1)
205typeof(TResult).IsAssignableFrom(source.ElementType) && typeof(DataRow).IsAssignableFrom(typeof(TResult)),
System\Data\LinqDataView.cs (17)
29internal Func<object, DataRow, int> comparerKeyRow; // comparer for DataView.Find(.. 34internal readonly SortExpressionBuilder<DataRow> sortExpressionBuilder; 41internal LinqDataView(DataTable table, SortExpressionBuilder<DataRow> sortExpressionBuilder) 45this.sortExpressionBuilder = sortExpressionBuilder ?? new SortExpressionBuilder<DataRow>(); 67Func<DataRow, bool> predicate_func, 68Predicate<DataRow> predicate_system, 69Comparison<DataRow> comparison, 70Func<object, DataRow, int> comparerKeyRow, 71SortExpressionBuilder<DataRow> sortExpressionBuilder) 144Index.ComparisonBySelector<object, DataRow> compareDelg = 145new Index.ComparisonBySelector<object, DataRow>(comparerKeyRow); 149Range range = FindRecords<object, DataRow>(compareDelg, keyList); 179Index.ComparisonBySelector<object, DataRow> compareDelg = 180new Index.ComparisonBySelector<object, DataRow>(comparerKeyRow); 187Range range = FindRecords<object, DataRow>(compareDelg, keyList); 219Range range = FindRecords<object, DataRow>( 220new Index.ComparisonBySelector<object, DataRow>(comparerKeyRow),
System\Data\TypedTableBase.cs (1)
22public abstract class TypedTableBase<T> : DataTable, IEnumerable<T> where T : DataRow {
System\Data\TypedTableBaseExtensions.cs (8)
29Func<TRow, bool> predicate) where TRow : DataRow 41Func<TRow, TKey> keySelector) where TRow : DataRow 54IComparer<TKey> comparer) where TRow : DataRow 66Func<TRow, TKey> keySelector) where TRow : DataRow 79IComparer<TKey> comparer) where TRow : DataRow 94Func<TRow, S> selector) where TRow : DataRow 114public static EnumerableRowCollection<TRow> AsEnumerable<TRow>(this TypedTableBase<TRow> source) where TRow : DataRow 120public static TRow ElementAtOrDefault<TRow>(this TypedTableBase<TRow> source, int index) where TRow : DataRow
System.Data.Entity (1)
System\Data\Common\EntityUtil.cs (1)
1842foreach (DataRow row in DbProviderFactories.GetFactoryClasses().Rows)
System.Data.Entity.Design (10)
System\Data\Entity\Design\EntityStoreSchemaGenerator.cs (1)
1093IEnumerable<DataRow> tableDetailsRows,
System\Data\Entity\Design\SSDLGenerator\EntityStoreSchemaGeneratorDatabaseSchemaLoader.cs (7)
88public IEnumerable<DataRow> LoadViewDetails(IEnumerable<EntityStoreSchemaFilterEntry> filters) 104public IEnumerable<DataRow> LoadTableDetails(IEnumerable<EntityStoreSchemaFilterEntry> filters) 120public IEnumerable<DataRow> LoadFunctionReturnTableDetails(IEnumerable<EntityStoreSchemaFilterEntry> filters) 137public IEnumerable<DataRow> LoadRelationships(IEnumerable<EntityStoreSchemaFilterEntry> filters) 168private IEnumerable<DataRow> LoadDataTable(string sql, Func<IEnumerable<DataRow>, IEnumerable<DataRow>> orderByFunc, DataTable table, EntityStoreSchemaFilterObjectTypes queryTypes, IEnumerable<EntityStoreSchemaFilterEntry> filters, params string[] filterAliases)
System\Data\Entity\Design\SSDLGenerator\RelationshipDetailsCollection.cs (1)
288protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder)
System\Data\Entity\Design\SSDLGenerator\TableDetailsCollection.cs (1)
307protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder)
System.Data.Linq (1)
SqlClient\SqlProvider.cs (1)
431DbProviderFactories.GetFactoryClasses().Rows.OfType<DataRow>()
System.Web (18)
Handlers\TraceHandler.cs (8)
373parent = HttpUtility.HtmlEncode ((string) ((DataRow) en.Current)[SR.Trace_Parent_Id]); 374control = HttpUtility.HtmlEncode((string) ((DataRow) en.Current)[SR.Trace_Control_Id]); 396AddCell(trow, (string) ((DataRow) en.Current)[SR.Trace_Type]); 398object size = ((DataRow) en.Current)[SR.Trace_Render_Size]; 404size = ((DataRow) en.Current)[SR.Trace_Viewstate_Size]; 410size = ((DataRow) en.Current)[SR.Trace_Controlstate_Size]; 437DataRow datarow; 537cells = ((DataRow) en.Current).ItemArray;
UI\TraceContext.cs (10)
153DataRow row = _requestData.Tables[SR.Trace_Request].Rows[0]; 281DataRow row = NewRow(_requestData, SR.Trace_Trace_Information); 337DataRow row = NewRow(_requestData, SR.Trace_Control_Tree); 371DataRow row = dt.Rows.Find((object) controlId); 385DataRow row = dt.Rows.Find((object) controlId); 500DataRow row = _requestData.Tables[SR.Trace_Request].Rows[0]; 747private DataRow NewRow(DataSet ds, string table) { 751private void AddRow(DataSet ds, string table, DataRow row) { 766DataRow row = NewRow(requestData, SR.Trace_Request); 847var row = NewRow(requestData, traceCollectionTitle);
System.Web.DataVisualization (9)
Common\DataManager\DataPoint.cs (8)
1164DataRow dataRow = item as DataRow; 1374 if(enumerator.Current is DataRow) 1380 if(((DataRow)enumerator.Current).Table.Columns.Contains(field)) 1382 columnDataType = ((DataRow)enumerator.Current).Table.Columns[field].DataType; 1394columnDataType = ((DataRow)enumerator.Current).Table.Columns[columnIndex].DataType; 1409 else if(((DataRow)enumerator.Current).Table.Columns.Count > 0) 1411 columnDataType = ((DataRow)enumerator.Current).Table.Columns[0].DataType;
Common\General\DataManipulator.cs (1)
1017 DataRow dataRow = seriesTable.NewRow();
System.Windows.Forms.DataVisualization (9)
Common\DataManager\DataPoint.cs (8)
1164DataRow dataRow = item as DataRow; 1374 if(enumerator.Current is DataRow) 1380 if(((DataRow)enumerator.Current).Table.Columns.Contains(field)) 1382 columnDataType = ((DataRow)enumerator.Current).Table.Columns[field].DataType; 1394columnDataType = ((DataRow)enumerator.Current).Table.Columns[columnIndex].DataType; 1409 else if(((DataRow)enumerator.Current).Table.Columns.Count > 0) 1411 columnDataType = ((DataRow)enumerator.Current).Table.Columns[0].DataType;
Common\General\DataManipulator.cs (1)
1017 DataRow dataRow = seriesTable.NewRow();