11[
Editor(
"Microsoft.VSDesigner.Data.Design.DataRelationEditor, Microsoft.VSDesigner, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a",
"System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
147 value =
string.Empty;
154 if (
value.Length == 0)
182 [DefaultValue(
false)]
230 row.CheckForLoops(
this);
236 ChildTable._fNestedInDataset =
false;
242 row2.GetParentRow(
this);
278 ChildTable._tableNamespace =
null;
371 for (
int i = 0; i <
values.Length; i++)
386 return childKey.Table.NewRowArray(0);
459 for (
int i = 0; i <
list.Count; i++)
560 for (
int i = 0; i < num; i++)
566 dataRelation.CheckMultipleNested =
false;
567 dataRelation.Nested =
Nested;
568 dataRelation.CheckMultipleNested =
true;
581 if (this.PropertyChanging !=
null)
644 string text = col.Table.TableName +
"_Id";
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
static bool IsCatchableExceptionType(Exception e)
static bool IsObjectNull(object value)
virtual MappingType ColumnMapping
DataSetDateTime DateTimeMode
static readonly DataCommonEventSource Log
void RegisterName(string name)
void UnregisterName(string name)
static DataRow[] GetChildRows(DataKey parentKey, DataKey childKey, DataRow parentRow, DataRowVersion version)
void OnPropertyChanging(PropertyChangedEventArgs pcevent)
DataColumn[] ChildColumnsReference
void Create(string relationName, DataColumn[] parentColumns, DataColumn[] childColumns, bool createConstraints)
string[] _childColumnNames
void SetChildKeyConstraint(ForeignKeyConstraint value)
virtual DataColumn[] ChildColumns
void SetDataSet(DataSet dataSet)
DataRelation(string? relationName, DataColumn parentColumn, DataColumn childColumn)
ForeignKeyConstraint _childKeyConstraint
bool _checkMultipleNested
DataRelation(string relationName, string? parentTableName, string? parentTableNamespace, string? childTableName, string? childTableNamespace, string[]? parentColumnNames, string[]? childColumnNames, bool nested)
void RaisePropertyChanging(string name)
string _parentTableNamespace
UniqueConstraint _parentKeyConstraint
PropertyCollection _extendedProperties
override string ToString()
DataColumn[] ParentColumnsReference
void SetParentKeyConstraint(UniqueConstraint value)
virtual DataTable ParentTable
static DataRow[] GetParentRows(DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version)
DataRelation(string? relationName, DataColumn parentColumn, DataColumn childColumn, bool createConstraints)
string[] ChildColumnNames
virtual DataColumn[] ParentColumns
DataRelation(string? relationName, DataColumn[] parentColumns, DataColumn[] childColumns, bool createConstraints)
DataRelation(string relationName, string? parentTableName, string? childTableName, string[]? parentColumnNames, string[]? childColumnNames, bool nested)
virtual DataTable ChildTable
void ValidateMultipleNestedRelations()
virtual string RelationName
void CheckStateForProperty()
bool IsAutoGenerated(DataColumn col)
PropertyChangedEventHandler? PropertyChanging
virtual ? UniqueConstraint ParentKeyConstraint
static int s_objectTypeCount
void CheckNestedRelations()
string[] _parentColumnNames
static DataRow GetParentRow(DataKey parentKey, DataKey childKey, DataRow childRow, DataRowVersion version)
string[] ParentColumnNames
virtual ? ForeignKeyConstraint ChildKeyConstraint
DataRelation(string? relationName, DataColumn[] parentColumns, DataColumn[] childColumns)
string _childTableNamespace
DataRelation Clone(DataSet destination)
static bool IsKeyNull(object[] values)
void CheckNamespaceValidityForNestedRelations(string ns)
PropertyCollection ExtendedProperties
DataRelationCollection Relations
static Exception InValidNestedRelation(string childTableName)
static Exception NoRelationName()
static Exception RelationDataSetMismatch()
static Exception InvalidParentNamespaceinNestedRelation(string childTableName)
static Exception ColumnsTypeMismatch()
static Exception DatasetConflictingName(string table)
static Exception RelationNestedReadOnly()
static Exception TableCantBeNestedInTwoTables(string tableName)
static Exception MultipleParents()
static Exception BadObjectPropertyAccess(string error)
static Exception ParentOrChildColumnsDoNotHaveDataSet()
static Exception SelfnestedDatasetConflictingName(string table)
static Exception KeyColumnsIdentical()
static Exception KeyLengthMismatch()
static Exception LoopInNestedRelations(string tableName)
static bool AutoGenerated(DataColumn col)
static CultureInfo CurrentCulture
static int Increment(ref int location)
DesignerSerializationVisibility
string[] GetColumnNames()
DataColumn[] ColumnsReference
bool ColumnsEqual(DataKey key)