478 lines
17 KiB
C#
478 lines
17 KiB
C#
using System;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
using System.Runtime.CompilerServices;
|
|
using Cpp2IlInjected;
|
|
|
|
namespace System.Data
|
|
{
|
|
/// <summary>Represents the collection of <see cref="T:System.Data.DataRelation" /> objects for this <see cref="T:System.Data.DataSet" />.</summary>
|
|
// Token: 0x02000026 RID: 38
|
|
[Token(Token = "0x2000026")]
|
|
[DefaultProperty("Table")]
|
|
[DefaultEvent("CollectionChanged")]
|
|
public abstract class DataRelationCollection : InternalDataCollectionBase
|
|
{
|
|
// Token: 0x17000068 RID: 104
|
|
// (get) Token: 0x0600029E RID: 670 RVA: 0x000028AC File Offset: 0x00000AAC
|
|
[Token(Token = "0x17000068")]
|
|
internal int ObjectID
|
|
{
|
|
[Token(Token = "0x600029E")]
|
|
[Address(RVA = "0x4257C0", Offset = "0x4247C0", VA = "0x1804257C0")]
|
|
get
|
|
{
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Data.DataRelation" /> object at the specified index.</summary>
|
|
/// <param name="index">The zero-based index to find.</param>
|
|
/// <returns>The <see cref="T:System.Data.DataRelation" />, or a null value if the specified <see cref="T:System.Data.DataRelation" /> does not exist.</returns>
|
|
/// <exception cref="T:System.IndexOutOfRangeException">The index value is greater than the number of items in the collection.</exception>
|
|
// Token: 0x17000069 RID: 105
|
|
[Token(Token = "0x17000069")]
|
|
public abstract DataRelation this[int index]
|
|
{
|
|
[Token(Token = "0x600029F")]
|
|
[Address(Slot = "13")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Gets the <see cref="T:System.Data.DataRelation" /> object specified by name.</summary>
|
|
/// <param name="name">The name of the relation to find.</param>
|
|
/// <returns>The named <see cref="T:System.Data.DataRelation" />, or a null value if the specified <see cref="T:System.Data.DataRelation" /> does not exist.</returns>
|
|
// Token: 0x1700006A RID: 106
|
|
[Token(Token = "0x1700006A")]
|
|
public abstract DataRelation this[string name]
|
|
{
|
|
[Token(Token = "0x60002A0")]
|
|
[Address(Slot = "14")]
|
|
get;
|
|
}
|
|
|
|
/// <summary>Adds a <see cref="T:System.Data.DataRelation" /> to the <see cref="T:System.Data.DataRelationCollection" />.</summary>
|
|
/// <param name="relation">The <see langword="DataRelation" /> to add to the collection.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The <paramref name="relation" /> parameter is a null value.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The relation already belongs to this collection, or it belongs to another collection.</exception>
|
|
/// <exception cref="T:System.Data.DuplicateNameException">The collection already has a relation with the specified name. (The comparison is not case sensitive.)</exception>
|
|
/// <exception cref="T:System.Data.InvalidConstraintException">The relation has entered an invalid state since it was created.</exception>
|
|
// Token: 0x060002A1 RID: 673 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002A1")]
|
|
[Address(RVA = "0xCE4AE0", Offset = "0xCE3AE0", VA = "0x180CE4AE0")]
|
|
public void Add(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs verification on the table.</summary>
|
|
/// <param name="relation">The relation to check.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The relation is null.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The relation already belongs to this collection, or it belongs to another collection.</exception>
|
|
/// <exception cref="T:System.Data.DuplicateNameException">The collection already has a relation with the same name. (The comparison is not case sensitive.)</exception>
|
|
// Token: 0x060002A2 RID: 674 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002A2")]
|
|
[Address(RVA = "0xCE4830", Offset = "0xCE3830", VA = "0x180CE4830", Slot = "15")]
|
|
protected virtual void AddCore(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
/// <summary>Occurs when the collection has changed.</summary>
|
|
// Token: 0x14000003 RID: 3
|
|
// (add) Token: 0x060002A3 RID: 675 RVA: 0x0000206A File Offset: 0x0000026A
|
|
// (remove) Token: 0x060002A4 RID: 676 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x14000003")]
|
|
public event CollectionChangeEventHandler CollectionChanged
|
|
{
|
|
[Token(Token = "0x60002A3")]
|
|
[Address(RVA = "0xCE5AA0", Offset = "0xCE4AA0", VA = "0x180CE5AA0")]
|
|
add
|
|
{
|
|
}
|
|
[Token(Token = "0x60002A4")]
|
|
[Address(RVA = "0xCE5B70", Offset = "0xCE4B70", VA = "0x180CE5B70")]
|
|
remove
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060002A5 RID: 677 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60002A5")]
|
|
[Address(RVA = "0xCE4D00", Offset = "0xCE3D00", VA = "0x180CE4D00")]
|
|
internal string AssignName()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Clears the collection of any relations.</summary>
|
|
// Token: 0x060002A6 RID: 678 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002A6")]
|
|
[Address(RVA = "0xCE4D20", Offset = "0xCE3D20", VA = "0x180CE4D20", Slot = "16")]
|
|
public virtual void Clear()
|
|
{
|
|
}
|
|
|
|
/// <summary>Verifies whether a <see cref="T:System.Data.DataRelation" /> with the specific name (case insensitive) exists in the collection.</summary>
|
|
/// <param name="name">The name of the relation to find.</param>
|
|
/// <returns>
|
|
/// <see langword="true" />, if a relation with the specified name exists; otherwise <see langword="false" />.</returns>
|
|
// Token: 0x060002A7 RID: 679 RVA: 0x000028C4 File Offset: 0x00000AC4
|
|
[Token(Token = "0x60002A7")]
|
|
[Address(RVA = "0xCE4F30", Offset = "0xCE3F30", VA = "0x180CE4F30", Slot = "17")]
|
|
public virtual bool Contains(string name)
|
|
{
|
|
return default(bool);
|
|
}
|
|
|
|
// Token: 0x060002A8 RID: 680 RVA: 0x000028DC File Offset: 0x00000ADC
|
|
[Token(Token = "0x60002A8")]
|
|
[Address(RVA = "0xCE4F50", Offset = "0xCE3F50", VA = "0x180CE4F50")]
|
|
internal int InternalIndexOf(string name)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
/// <summary>This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.</summary>
|
|
/// <returns>The referenced DataSet.</returns>
|
|
// Token: 0x060002A9 RID: 681
|
|
[Token(Token = "0x60002A9")]
|
|
[Address(Slot = "18")]
|
|
protected abstract DataSet GetDataSet();
|
|
|
|
// Token: 0x060002AA RID: 682 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60002AA")]
|
|
[Address(RVA = "0xCE50E0", Offset = "0xCE40E0", VA = "0x180CE50E0")]
|
|
private string MakeName(int index)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
/// <summary>Raises the <see cref="E:System.Data.DataRelationCollection.CollectionChanged" /> event.</summary>
|
|
/// <param name="ccevent">A <see cref="T:System.ComponentModel.CollectionChangeEventArgs" /> that contains the event data.</param>
|
|
// Token: 0x060002AB RID: 683 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002AB")]
|
|
[Address(RVA = "0xCE5170", Offset = "0xCE4170", VA = "0x180CE5170", Slot = "19")]
|
|
protected virtual void OnCollectionChanged(CollectionChangeEventArgs ccevent)
|
|
{
|
|
}
|
|
|
|
/// <summary>Raises the <see cref="E:System.Data.DataRelationCollection.CollectionChanged" /> event.</summary>
|
|
/// <param name="ccevent">A <see cref="T:System.ComponentModel.CollectionChangeEventArgs" /> that contains the event data.</param>
|
|
// Token: 0x060002AC RID: 684 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002AC")]
|
|
[Address(RVA = "0xCE5220", Offset = "0xCE4220", VA = "0x180CE5220", Slot = "20")]
|
|
protected virtual void OnCollectionChanging(CollectionChangeEventArgs ccevent)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002AD RID: 685 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002AD")]
|
|
[Address(RVA = "0xCE52D0", Offset = "0xCE42D0", VA = "0x180CE52D0")]
|
|
internal void RegisterName(string name)
|
|
{
|
|
}
|
|
|
|
/// <summary>Removes the specified relation from the collection.</summary>
|
|
/// <param name="relation">The relation to remove.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The relation is a null value.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The relation does not belong to the collection.</exception>
|
|
// Token: 0x060002AE RID: 686 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002AE")]
|
|
[Address(RVA = "0xCE56F0", Offset = "0xCE46F0", VA = "0x180CE56F0")]
|
|
public void Remove(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
/// <summary>Removes the relation at the specified index from the collection.</summary>
|
|
/// <param name="index">The index of the relation to remove.</param>
|
|
/// <exception cref="T:System.ArgumentException">The collection does not have a relation at the specified index.</exception>
|
|
// Token: 0x060002AF RID: 687 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002AF")]
|
|
[Address(RVA = "0xCE54A0", Offset = "0xCE44A0", VA = "0x180CE54A0")]
|
|
public void RemoveAt(int index)
|
|
{
|
|
}
|
|
|
|
/// <summary>Performs a verification on the specified <see cref="T:System.Data.DataRelation" /> object.</summary>
|
|
/// <param name="relation">The <see langword="DataRelation" /> object to verify.</param>
|
|
/// <exception cref="T:System.ArgumentNullException">The collection does not have a relation at the specified index.</exception>
|
|
/// <exception cref="T:System.ArgumentException">The specified relation does not belong to this collection, or it belongs to another collection.</exception>
|
|
// Token: 0x060002B0 RID: 688 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002B0")]
|
|
[Address(RVA = "0xCE5530", Offset = "0xCE4530", VA = "0x180CE5530", Slot = "21")]
|
|
protected virtual void RemoveCore(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002B1 RID: 689 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002B1")]
|
|
[Address(RVA = "0xCE5880", Offset = "0xCE4880", VA = "0x180CE5880")]
|
|
internal void UnregisterName(string name)
|
|
{
|
|
}
|
|
|
|
/// <summary>Initializes a new instance of the <see cref="T:System.Data.DataRelationCollection" /> class.</summary>
|
|
// Token: 0x060002B2 RID: 690 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002B2")]
|
|
[Address(RVA = "0xCE5A30", Offset = "0xCE4A30", VA = "0x180CE5A30")]
|
|
protected DataRelationCollection()
|
|
{
|
|
}
|
|
|
|
// Token: 0x04000075 RID: 117
|
|
[FieldOffset(Offset = "0x10")]
|
|
[Token(Token = "0x4000075")]
|
|
private DataRelation _inTransition;
|
|
|
|
// Token: 0x04000076 RID: 118
|
|
[FieldOffset(Offset = "0x18")]
|
|
[Token(Token = "0x4000076")]
|
|
private int _defaultNameIndex;
|
|
|
|
// Token: 0x04000077 RID: 119
|
|
[FieldOffset(Offset = "0x20")]
|
|
[Token(Token = "0x4000077")]
|
|
private CollectionChangeEventHandler _onCollectionChangedDelegate;
|
|
|
|
// Token: 0x04000078 RID: 120
|
|
[FieldOffset(Offset = "0x28")]
|
|
[Token(Token = "0x4000078")]
|
|
private CollectionChangeEventHandler _onCollectionChangingDelegate;
|
|
|
|
// Token: 0x04000079 RID: 121
|
|
[Token(Token = "0x4000079")]
|
|
private static int s_objectTypeCount;
|
|
|
|
// Token: 0x0400007A RID: 122
|
|
[FieldOffset(Offset = "0x30")]
|
|
[Token(Token = "0x400007A")]
|
|
private readonly int _objectID;
|
|
|
|
// Token: 0x02000027 RID: 39
|
|
[Token(Token = "0x2000027")]
|
|
internal sealed class DataTableRelationCollection : DataRelationCollection
|
|
{
|
|
// Token: 0x060002B3 RID: 691 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002B3")]
|
|
[Address(RVA = "0xCEE5F0", Offset = "0xCED5F0", VA = "0x180CEE5F0")]
|
|
internal DataTableRelationCollection(DataTable table, bool fParentCollection)
|
|
{
|
|
}
|
|
|
|
// Token: 0x1700006B RID: 107
|
|
// (get) Token: 0x060002B4 RID: 692 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700006B")]
|
|
protected override ArrayList List
|
|
{
|
|
[Token(Token = "0x60002B4")]
|
|
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680", Slot = "12")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060002B5 RID: 693 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002B5")]
|
|
[Address(RVA = "0xCEE270", Offset = "0xCED270", VA = "0x180CEE270")]
|
|
private void EnsureDataSet()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002B6 RID: 694 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60002B6")]
|
|
[Address(RVA = "0xCEE2D0", Offset = "0xCED2D0", VA = "0x180CEE2D0", Slot = "18")]
|
|
protected override DataSet GetDataSet()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x1700006C RID: 108
|
|
[Token(Token = "0x1700006C")]
|
|
public override DataRelation this[int index]
|
|
{
|
|
[Token(Token = "0x60002B7")]
|
|
[Address(RVA = "0xCEE830", Offset = "0xCED830", VA = "0x180CEE830", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x1700006D RID: 109
|
|
[Token(Token = "0x1700006D")]
|
|
public override DataRelation this[string name]
|
|
{
|
|
[Token(Token = "0x60002B8")]
|
|
[Address(RVA = "0xCEE720", Offset = "0xCED720", VA = "0x180CEE720", Slot = "14")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x14000004 RID: 4
|
|
// (add) Token: 0x060002B9 RID: 697 RVA: 0x0000206A File Offset: 0x0000026A
|
|
// (remove) Token: 0x060002BA RID: 698 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x14000004")]
|
|
internal event CollectionChangeEventHandler RelationPropertyChanged
|
|
{
|
|
[Token(Token = "0x60002B9")]
|
|
[Address(RVA = "0xCEE680", Offset = "0xCED680", VA = "0x180CEE680")]
|
|
[CompilerGenerated]
|
|
add
|
|
{
|
|
}
|
|
[Token(Token = "0x60002BA")]
|
|
[Address(RVA = "0xCEE940", Offset = "0xCED940", VA = "0x180CEE940")]
|
|
[CompilerGenerated]
|
|
remove
|
|
{
|
|
}
|
|
}
|
|
|
|
// Token: 0x060002BB RID: 699 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002BB")]
|
|
[Address(RVA = "0xCEE110", Offset = "0xCED110", VA = "0x180CEE110")]
|
|
private void AddCache(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002BC RID: 700 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002BC")]
|
|
[Address(RVA = "0xCEE160", Offset = "0xCED160", VA = "0x180CEE160", Slot = "15")]
|
|
protected override void AddCore(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002BD RID: 701 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002BD")]
|
|
[Address(RVA = "0xCEE330", Offset = "0xCED330", VA = "0x180CEE330")]
|
|
private void RemoveCache(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002BE RID: 702 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002BE")]
|
|
[Address(RVA = "0xCEE430", Offset = "0xCED430", VA = "0x180CEE430", Slot = "21")]
|
|
protected override void RemoveCore(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400007B RID: 123
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400007B")]
|
|
private readonly DataTable _table;
|
|
|
|
// Token: 0x0400007C RID: 124
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x400007C")]
|
|
private readonly ArrayList _relations;
|
|
|
|
// Token: 0x0400007D RID: 125
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x400007D")]
|
|
private readonly bool _fParentCollection;
|
|
}
|
|
|
|
// Token: 0x02000028 RID: 40
|
|
[Token(Token = "0x2000028")]
|
|
internal sealed class DataSetRelationCollection : DataRelationCollection
|
|
{
|
|
// Token: 0x060002BF RID: 703 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002BF")]
|
|
[Address(RVA = "0xCEDE70", Offset = "0xCECE70", VA = "0x180CEDE70")]
|
|
internal DataSetRelationCollection(DataSet dataSet)
|
|
{
|
|
}
|
|
|
|
// Token: 0x1700006E RID: 110
|
|
// (get) Token: 0x060002C0 RID: 704 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x1700006E")]
|
|
protected override ArrayList List
|
|
{
|
|
[Token(Token = "0x60002C0")]
|
|
[Address(RVA = "0x417680", Offset = "0x416680", VA = "0x180417680", Slot = "12")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060002C1 RID: 705 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002C1")]
|
|
[Address(RVA = "0xCED6B0", Offset = "0xCEC6B0", VA = "0x180CED6B0", Slot = "16")]
|
|
public override void Clear()
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002C2 RID: 706 RVA: 0x00002050 File Offset: 0x00000250
|
|
[Token(Token = "0x60002C2")]
|
|
[Address(RVA = "0x41CEF0", Offset = "0x41BEF0", VA = "0x18041CEF0", Slot = "18")]
|
|
protected override DataSet GetDataSet()
|
|
{
|
|
return null;
|
|
}
|
|
|
|
// Token: 0x1700006F RID: 111
|
|
[Token(Token = "0x1700006F")]
|
|
public override DataRelation this[int index]
|
|
{
|
|
[Token(Token = "0x60002C3")]
|
|
[Address(RVA = "0xCEDEF0", Offset = "0xCECEF0", VA = "0x180CEDEF0", Slot = "13")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x17000070 RID: 112
|
|
[Token(Token = "0x17000070")]
|
|
public override DataRelation this[string name]
|
|
{
|
|
[Token(Token = "0x60002C4")]
|
|
[Address(RVA = "0xCEE000", Offset = "0xCED000", VA = "0x180CEE000", Slot = "14")]
|
|
get
|
|
{
|
|
return null;
|
|
}
|
|
}
|
|
|
|
// Token: 0x060002C5 RID: 709 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002C5")]
|
|
[Address(RVA = "0xCED010", Offset = "0xCEC010", VA = "0x180CED010", Slot = "15")]
|
|
protected override void AddCore(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002C6 RID: 710 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002C6")]
|
|
[Address(RVA = "0xCEDB60", Offset = "0xCECB60", VA = "0x180CEDB60", Slot = "21")]
|
|
protected override void RemoveCore(DataRelation relation)
|
|
{
|
|
}
|
|
|
|
// Token: 0x060002C7 RID: 711 RVA: 0x0000206A File Offset: 0x0000026A
|
|
[Token(Token = "0x60002C7")]
|
|
[Address(RVA = "0xCED6F0", Offset = "0xCEC6F0", VA = "0x180CED6F0")]
|
|
internal void FinishInitRelations()
|
|
{
|
|
}
|
|
|
|
// Token: 0x0400007F RID: 127
|
|
[FieldOffset(Offset = "0x38")]
|
|
[Token(Token = "0x400007F")]
|
|
private readonly DataSet _dataSet;
|
|
|
|
// Token: 0x04000080 RID: 128
|
|
[FieldOffset(Offset = "0x40")]
|
|
[Token(Token = "0x4000080")]
|
|
private readonly ArrayList _relations;
|
|
|
|
// Token: 0x04000081 RID: 129
|
|
[FieldOffset(Offset = "0x48")]
|
|
[Token(Token = "0x4000081")]
|
|
private DataRelation[] _delayLoadingRelations;
|
|
}
|
|
}
|
|
}
|