106 if (!
string.IsNullOrEmpty(
value))
308 for (
int i = 0; i <
array.Length; i++)
331 for (
int i = 0; i <
value.Length; i++)
865 return version
switch
943 return version
switch
976 for (
int i = 0; i <
columns.Length; i++)
1024 if (!
dataColumn.ImplementsIRevertibleChangeTracking)
1068 for (
int i = 0; i <
keyValues.Length; i++)
1070 object obj =
this[
key.ColumnsReference[i]];
static readonly DBNull Value
static bool IsCatchableOrSecurityExceptionType(Exception e)
int ColumnsImplementingIChangeTrackingCount
DataColumn[] ColumnsImplementingIChangeTracking
int ColumnsImplementingIRevertibleChangeTrackingCount
static readonly DataCommonEventSource Log
string GetColumnError(DataColumn column)
void SetColumnError(DataColumn column, string error)
void Clear(DataColumn column)
DataColumn[] GetColumnsInError()
static DataRow[] GetChildRows(DataKey parentKey, DataKey childKey, DataRow parentRow, DataRowVersion version)
static DataRow[] GetParentRows(DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version)
static DataRow GetParentRow(DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version)
int GetNestedParentCount()
string GetColumnError(int columnIndex)
readonly DataColumnCollection _columns
void ClearError(DataColumn column)
DataRow[] GetParentRows(string? relationName, DataRowVersion version)
DataRow[] GetParentRows(DataRelation? relation)
DataRow[] GetChildRows(string? relationName)
bool HasKeyChanged(DataKey key)
bool HaveValuesChanged(DataColumn[] columns, DataRowVersion version1, DataRowVersion version2)
DataRow? GetParentRow(DataRelation? relation, DataRowVersion version)
void CheckForLoops(DataRelation rel)
object[] GetColumnValues(DataColumn[] columns, DataRowVersion version)
bool HasVersion(DataRowVersion version)
int GetRecordFromVersion(DataRowVersion version)
object[] GetKeyValues(DataKey key)
DataColumn _lastChangedColumn
bool IsNull(DataColumn column)
void SetColumnError(string columnName, string? error)
static int s_objectTypeCount
string GetColumnError(string columnName)
bool IsNull(DataColumn column, DataRowVersion version)
int CopyValuesIntoStore(ArrayList storeList, ArrayList nullbitList, int storeIndex)
DataRow[] GetParentRows(string? relationName)
void SetParentRow(DataRow? parentRow)
string GetColumnError(DataColumn column)
bool IsNull(string columnName)
object[] GetKeyValues(DataKey key, DataRowVersion version)
DataRow GetNestedParentRow(DataRowVersion version)
DataRow[] GetChildRows(DataRelation? relation, DataRowVersion version)
void SetParentRowToDBNull(DataRelation relation)
DataViewRowState GetRecordState(int record)
void SetColumnError(int columnIndex, string? error)
DataRow[] GetChildRows(string? relationName, DataRowVersion version)
void SetColumnError(DataColumn column, string? error)
void SetParentRow(DataRow? parentRow, DataRelation? relation)
DataColumn GetDataColumn(string columnName)
void ResetLastChangedColumn()
void SetKeyValues(DataKey key, object[] keyValues)
bool HaveValuesChanged(DataColumn[] columns)
DataColumn[] GetColumnsInError()
bool IsNull(int columnIndex)
DataRow? GetParentRow(string? relationName)
void SetParentRowToDBNull()
DataRow? GetParentRow(DataRelation? relation)
void SetNull(DataColumn column)
DataRow? GetParentRow(string? relationName, DataRowVersion version)
DataColumn? LastChangedColumn
void SetNestedParentRow(DataRow parentRow, bool setNonNested)
DataRow[] GetParentRows(DataRelation? relation, DataRowVersion version)
int GetProposedRecordNo()
int GetOriginalRecordNo()
DataRow[] GetChildRows(DataRelation? relation)
bool HasKeyChanged(DataKey key, DataRowVersion version1, DataRowVersion version2)
readonly DataTable _table
void CheckColumn(DataColumn column)
DataRowVersion GetDefaultRowVersion(DataViewRowState viewState)
DataRow(DataRowBuilder builder)
object[] GetColumnValues(DataColumn[] columns)
virtual void OnColumnChanged(DataColumnChangeEventArgs e)
virtual void OnColumnChanging(DataColumnChangeEventArgs e)
void FreeRecord(ref int record)
DataColumnCollection Columns
void RecordChanged(int record)
bool NeedColumnChangeEvents
DataRow[] NewRowArray(int size)
void SetOldRecord(DataRow row, int proposedRecord)
DataRelationCollection ParentRelations
void CommitRow(DataRow row)
void DeleteRow(DataRow row)
void RollbackRow(DataRow row)
void SetNewRecord(DataRow row, int proposedRecord, DataRowAction action=DataRowAction.Change, bool isInMerge=false, bool fireEvent=true, bool suppressEnsurePropertyChanged=false)
readonly RecordManager _recordManager
DataRelation[] NestedParentRelations
DataRelationCollection ChildRelations
static Exception ColumnOutOfRange(int index)
static Exception DeletedRowInaccessible()
static Exception EditInRowChanging()
static Exception RowRemovedFromTheTable()
static Exception GetParentRowTableMismatch(string t1, string t2)
static Exception DeleteInRowDeleting()
static Exception EndEditInRowChanging()
static Exception ValueArrayLength()
static Exception NoProposedData()
static Exception ParentRowNotInTheDataSet()
static Exception SetAddedAndModifiedCalledOnnonUnchanged()
static Exception RowNotInTheTable()
static Exception SetParentRowTableMismatch(string t1, string t2)
static Exception BeginEditInRowChanging()
static Exception RowNotInTheDataSet()
static Exception NestedCircular(string name)
static Exception RelationForeignRow()
static Exception CannotSetToNull(DataColumn column)
static Exception ColumnNotInTheTable(string column, string table)
static Exception NoCurrentData()
static Exception RelationForeignTable(string t1, string t2)
static Exception CancelEditInRowChanging()
static Exception NoOriginalData()
static Exception ReadOnly(string column)
static Exception InvalidRowVersion()
static Exception UDTImplementsIChangeTrackingButnotIRevertible(string typeName)
static Exception ArgumentNull(string paramName)
static int Increment(ref int location)