Files
27Aug2021-Cpp2IL-Dump/System.Data/ConstraintCollection.cs
T
niko c12fbe3fc6 m
2026-04-12 16:51:38 +02:00

341 lines
13 KiB
C#

using System;
using System.Collections;
using System.ComponentModel;
using Cpp2IlInjected;
namespace System.Data
{
/// <summary>Represents a collection of constraints for a <see cref="T:System.Data.DataTable" />.</summary>
// Token: 0x02000009 RID: 9
[Token(Token = "0x2000009")]
[DefaultEvent("CollectionChanged")]
public sealed class ConstraintCollection : InternalDataCollectionBase
{
// Token: 0x06000034 RID: 52 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000034")]
[Address(RVA = "0xCD7CA0", Offset = "0xCD6CA0", VA = "0x180CD7CA0")]
internal ConstraintCollection(DataTable table)
{
}
// Token: 0x1700000B RID: 11
// (get) Token: 0x06000035 RID: 53 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700000B")]
protected override ArrayList List
{
[Token(Token = "0x6000035")]
[Address(RVA = "0x4157B0", Offset = "0x4147B0", VA = "0x1804157B0", Slot = "12")]
get
{
return null;
}
}
/// <summary>Gets the <see cref="T:System.Data.Constraint" /> from the collection at the specified index.</summary>
/// <param name="index">The index of the constraint to return.</param>
/// <returns>The <see cref="T:System.Data.Constraint" /> at the specified index.</returns>
/// <exception cref="T:System.IndexOutOfRangeException">The index value is greater than the number of items in the collection.</exception>
// Token: 0x1700000C RID: 12
[Token(Token = "0x1700000C")]
public Constraint this[int index]
{
[Token(Token = "0x6000036")]
[Address(RVA = "0xCD7E40", Offset = "0xCD6E40", VA = "0x180CD7E40")]
get
{
return null;
}
}
// Token: 0x1700000D RID: 13
// (get) Token: 0x06000037 RID: 55 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x1700000D")]
internal DataTable Table
{
[Token(Token = "0x6000037")]
[Address(RVA = "0x411530", Offset = "0x410530", VA = "0x180411530")]
get
{
return null;
}
}
/// <summary>Gets the <see cref="T:System.Data.Constraint" /> from the collection with the specified name.</summary>
/// <param name="name">The <see cref="P:System.Data.Constraint.ConstraintName" /> of the constraint to return.</param>
/// <returns>The <see cref="T:System.Data.Constraint" /> with the specified name; otherwise a null value if the <see cref="T:System.Data.Constraint" /> does not exist.</returns>
// Token: 0x1700000E RID: 14
[Token(Token = "0x1700000E")]
public Constraint this[string name]
{
[Token(Token = "0x6000038")]
[Address(RVA = "0xCD7D30", Offset = "0xCD6D30", VA = "0x180CD7D30")]
get
{
return null;
}
}
/// <summary>Adds the specified <see cref="T:System.Data.Constraint" /> object to the collection.</summary>
/// <param name="constraint">The <see langword="Constraint" /> to add.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="constraint" /> argument is null.</exception>
/// <exception cref="T:System.ArgumentException">The constraint already belongs to this collection, or belongs to another collection.</exception>
/// <exception cref="T:System.Data.DuplicateNameException">The collection already has a constraint with the same name. (The comparison is not case-sensitive.)</exception>
// Token: 0x06000039 RID: 57 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000039")]
[Address(RVA = "0xCD5190", Offset = "0xCD4190", VA = "0x180CD5190")]
public void Add(Constraint constraint)
{
}
// Token: 0x0600003A RID: 58 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x600003A")]
[Address(RVA = "0xCD5250", Offset = "0xCD4250", VA = "0x180CD5250")]
internal void Add(Constraint constraint, bool addUniqueWhenAddingForeign)
{
}
/// <summary>Constructs a new <see cref="T:System.Data.UniqueConstraint" /> with the specified name, array of <see cref="T:System.Data.DataColumn" /> objects, and value that indicates whether the column is a primary key, and adds it to the collection.</summary>
/// <param name="name">The name of the <see cref="T:System.Data.UniqueConstraint" />.</param>
/// <param name="columns">An array of <see cref="T:System.Data.DataColumn" /> objects to which the constraint applies.</param>
/// <param name="primaryKey">Specifies whether the column should be the primary key. If <see langword="true" />, the column will be a primary key column.</param>
/// <returns>A new <see langword="UniqueConstraint" />.</returns>
/// <exception cref="T:System.ArgumentException">The constraint already belongs to this collection.
/// -Or-
/// The constraint belongs to another collection.</exception>
/// <exception cref="T:System.Data.DuplicateNameException">The collection already has a constraint with the specified name. (The comparison is not case-sensitive.)</exception>
// Token: 0x0600003B RID: 59 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600003B")]
[Address(RVA = "0xCD51A0", Offset = "0xCD41A0", VA = "0x180CD51A0")]
public Constraint Add(string name, DataColumn[] columns, bool primaryKey)
{
return null;
}
// Token: 0x0600003C RID: 60 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x600003C")]
[Address(RVA = "0xCD5090", Offset = "0xCD4090", VA = "0x180CD5090")]
private void AddUniqueConstraint(UniqueConstraint constraint)
{
}
// Token: 0x0600003D RID: 61 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x600003D")]
[Address(RVA = "0xCD5000", Offset = "0xCD4000", VA = "0x180CD5000")]
private void AddForeignKeyConstraint(ForeignKeyConstraint constraint)
{
}
// Token: 0x0600003E RID: 62 RVA: 0x0000212C File Offset: 0x0000032C
[Token(Token = "0x600003E")]
[Address(RVA = "0xCD59D0", Offset = "0xCD49D0", VA = "0x180CD59D0")]
private bool AutoGenerated(Constraint constraint)
{
return default(bool);
}
// Token: 0x0600003F RID: 63 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x600003F")]
[Address(RVA = "0xCD5930", Offset = "0xCD4930", VA = "0x180CD5930")]
private void ArrayAdd(Constraint constraint)
{
}
// Token: 0x06000040 RID: 64 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000040")]
[Address(RVA = "0xCD5970", Offset = "0xCD4970", VA = "0x180CD5970")]
private void ArrayRemove(Constraint constraint)
{
}
// Token: 0x06000041 RID: 65 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000041")]
[Address(RVA = "0xCD59B0", Offset = "0xCD49B0", VA = "0x180CD59B0")]
internal string AssignName()
{
return null;
}
// Token: 0x06000042 RID: 66 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000042")]
[Address(RVA = "0xCD5AB0", Offset = "0xCD4AB0", VA = "0x180CD5AB0")]
private void BaseAdd(Constraint constraint)
{
}
// Token: 0x06000043 RID: 67 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000043")]
[Address(RVA = "0xCD5BA0", Offset = "0xCD4BA0", VA = "0x180CD5BA0")]
private void BaseGroupSwitch(Constraint[] oldArray, int oldLength, Constraint[] newArray, int newLength)
{
}
// Token: 0x06000044 RID: 68 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000044")]
[Address(RVA = "0xCD5DF0", Offset = "0xCD4DF0", VA = "0x180CD5DF0")]
private void BaseRemove(Constraint constraint)
{
}
// Token: 0x06000045 RID: 69 RVA: 0x00002144 File Offset: 0x00000344
[Token(Token = "0x6000045")]
[Address(RVA = "0xCD6150", Offset = "0xCD5150", VA = "0x180CD6150")]
internal bool CanRemove(Constraint constraint, bool fThrowException)
{
return default(bool);
}
/// <summary>Clears the collection of any <see cref="T:System.Data.Constraint" /> objects.</summary>
// Token: 0x06000046 RID: 70 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000046")]
[Address(RVA = "0xCD6180", Offset = "0xCD5180", VA = "0x180CD6180")]
public void Clear()
{
}
/// <summary>Indicates whether the <see cref="T:System.Data.Constraint" /> object specified by name exists in the collection.</summary>
/// <param name="name">The <see cref="P:System.Data.Constraint.ConstraintName" /> of the constraint.</param>
/// <returns>
/// <see langword="true" /> if the collection contains the specified constraint; otherwise, <see langword="false" />.</returns>
// Token: 0x06000047 RID: 71 RVA: 0x0000215C File Offset: 0x0000035C
[Token(Token = "0x6000047")]
[Address(RVA = "0xCD6850", Offset = "0xCD5850", VA = "0x180CD6850")]
public bool Contains(string name)
{
return default(bool);
}
// Token: 0x06000048 RID: 72 RVA: 0x00002174 File Offset: 0x00000374
[Token(Token = "0x6000048")]
[Address(RVA = "0xCD6870", Offset = "0xCD5870", VA = "0x180CD6870")]
internal bool Contains(string name, bool caseSensitive)
{
return default(bool);
}
// Token: 0x06000049 RID: 73 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x6000049")]
[Address(RVA = "0xCD69D0", Offset = "0xCD59D0", VA = "0x180CD69D0")]
internal Constraint FindConstraint(Constraint constraint)
{
return null;
}
// Token: 0x0600004A RID: 74 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600004A")]
[Address(RVA = "0xCD6D10", Offset = "0xCD5D10", VA = "0x180CD6D10")]
internal UniqueConstraint FindKeyConstraint(DataColumn[] columns)
{
return null;
}
// Token: 0x0600004B RID: 75 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600004B")]
[Address(RVA = "0xCD6E50", Offset = "0xCD5E50", VA = "0x180CD6E50")]
internal UniqueConstraint FindKeyConstraint(DataColumn column)
{
return null;
}
// Token: 0x0600004C RID: 76 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600004C")]
[Address(RVA = "0xCD6BA0", Offset = "0xCD5BA0", VA = "0x180CD6BA0")]
internal ForeignKeyConstraint FindForeignKeyConstraint(DataColumn[] parentColumns, DataColumn[] childColumns)
{
return null;
}
// Token: 0x0600004D RID: 77 RVA: 0x0000218C File Offset: 0x0000038C
[Token(Token = "0x600004D")]
[Address(RVA = "0xCD67A0", Offset = "0xCD57A0", VA = "0x180CD67A0")]
private static bool CompareArrays(DataColumn[] a1, DataColumn[] a2)
{
return default(bool);
}
// Token: 0x0600004E RID: 78 RVA: 0x000021A4 File Offset: 0x000003A4
[Token(Token = "0x600004E")]
[Address(RVA = "0xCD7580", Offset = "0xCD6580", VA = "0x180CD7580")]
internal int InternalIndexOf(string constraintName)
{
return 0;
}
// Token: 0x0600004F RID: 79 RVA: 0x00002050 File Offset: 0x00000250
[Token(Token = "0x600004F")]
[Address(RVA = "0xCD76E0", Offset = "0xCD66E0", VA = "0x180CD76E0")]
private string MakeName(int index)
{
return null;
}
// Token: 0x06000050 RID: 80 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000050")]
[Address(RVA = "0x68F7E0", Offset = "0x68E7E0", VA = "0x18068F7E0")]
private void OnCollectionChanged(CollectionChangeEventArgs ccevent)
{
}
// Token: 0x06000051 RID: 81 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000051")]
[Address(RVA = "0xCD7770", Offset = "0xCD6770", VA = "0x180CD7770")]
internal void RegisterName(string name)
{
}
/// <summary>Removes the specified <see cref="T:System.Data.Constraint" /> from the collection.</summary>
/// <param name="constraint">The <see cref="T:System.Data.Constraint" /> to remove.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="constraint" /> argument is <see langword="null" />.</exception>
/// <exception cref="T:System.ArgumentException">The constraint does not belong to the collection.</exception>
// Token: 0x06000052 RID: 82 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000052")]
[Address(RVA = "0xCD79E0", Offset = "0xCD69E0", VA = "0x180CD79E0")]
public void Remove(Constraint constraint)
{
}
// Token: 0x06000053 RID: 83 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000053")]
[Address(RVA = "0xCD7B90", Offset = "0xCD6B90", VA = "0x180CD7B90")]
internal void UnregisterName(string name)
{
}
// Token: 0x06000054 RID: 84 RVA: 0x0000206A File Offset: 0x0000026A
[Token(Token = "0x6000054")]
[Address(RVA = "0xCD6F80", Offset = "0xCD5F80", VA = "0x180CD6F80")]
internal void FinishInitConstraints()
{
}
// Token: 0x04000017 RID: 23
[FieldOffset(Offset = "0x10")]
[Token(Token = "0x4000017")]
private readonly DataTable _table;
// Token: 0x04000018 RID: 24
[FieldOffset(Offset = "0x18")]
[Token(Token = "0x4000018")]
private readonly ArrayList _list;
// Token: 0x04000019 RID: 25
[FieldOffset(Offset = "0x20")]
[Token(Token = "0x4000019")]
private int _defaultNameIndex;
// Token: 0x0400001A RID: 26
[FieldOffset(Offset = "0x28")]
[Token(Token = "0x400001A")]
private CollectionChangeEventHandler _onCollectionChanged;
// Token: 0x0400001B RID: 27
[FieldOffset(Offset = "0x30")]
[Token(Token = "0x400001B")]
private Constraint[] _delayLoadingConstraints;
// Token: 0x0400001C RID: 28
[FieldOffset(Offset = "0x38")]
[Token(Token = "0x400001C")]
private bool _fLoadForeignKeyConstraintsOnly;
}
}