m
This commit is contained in:
@@ -0,0 +1,224 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using Cpp2IlInjected;
|
||||
|
||||
namespace System.Data
|
||||
{
|
||||
/// <summary>Represents a constraint that can be enforced on one or more <see cref="T:System.Data.DataColumn" /> objects.</summary>
|
||||
// Token: 0x02000008 RID: 8
|
||||
[Token(Token = "0x2000008")]
|
||||
[TypeConverter]
|
||||
[TypeConverter(typeof(ConstraintConverter))]
|
||||
[DefaultProperty("ConstraintName")]
|
||||
public abstract class Constraint
|
||||
{
|
||||
/// <summary>The name of a constraint in the <see cref="T:System.Data.ConstraintCollection" />.</summary>
|
||||
/// <returns>The name of the <see cref="T:System.Data.Constraint" />.</returns>
|
||||
/// <exception cref="T:System.ArgumentException">The <see cref="T:System.Data.Constraint" /> name is a null value or empty string.</exception>
|
||||
/// <exception cref="T:System.Data.DuplicateNameException">The <see cref="T:System.Data.ConstraintCollection" /> already contains a <see cref="T:System.Data.Constraint" /> with the same name (The comparison is not case-sensitive.).</exception>
|
||||
// Token: 0x17000005 RID: 5
|
||||
// (get) Token: 0x0600001E RID: 30 RVA: 0x00002050 File Offset: 0x00000250
|
||||
// (set) Token: 0x0600001F RID: 31 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x17000005")]
|
||||
[DefaultValue("")]
|
||||
public virtual string ConstraintName
|
||||
{
|
||||
[Token(Token = "0x600001E")]
|
||||
[Address(RVA = "0x4157D0", Offset = "0x4147D0", VA = "0x1804157D0", Slot = "4")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x600001F")]
|
||||
[Address(RVA = "0xCD84A0", Offset = "0xCD74A0", VA = "0x180CD84A0", Slot = "5")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000006 RID: 6
|
||||
// (get) Token: 0x06000020 RID: 32 RVA: 0x00002050 File Offset: 0x00000250
|
||||
// (set) Token: 0x06000021 RID: 33 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x17000006")]
|
||||
internal string SchemaName
|
||||
{
|
||||
[Token(Token = "0x6000020")]
|
||||
[Address(RVA = "0xCD8460", Offset = "0xCD7460", VA = "0x180CD8460")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
[Token(Token = "0x6000021")]
|
||||
[Address(RVA = "0xCD86F0", Offset = "0xCD76F0", VA = "0x180CD86F0")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x17000007 RID: 7
|
||||
// (get) Token: 0x06000022 RID: 34 RVA: 0x00002114 File Offset: 0x00000314
|
||||
// (set) Token: 0x06000023 RID: 35 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x17000007")]
|
||||
internal virtual bool InCollection
|
||||
{
|
||||
[Token(Token = "0x6000022")]
|
||||
[Address(RVA = "0x497570", Offset = "0x496570", VA = "0x180497570", Slot = "6")]
|
||||
get
|
||||
{
|
||||
return default(bool);
|
||||
}
|
||||
[Token(Token = "0x6000023")]
|
||||
[Address(RVA = "0xCD86A0", Offset = "0xCD76A0", VA = "0x180CD86A0", Slot = "7")]
|
||||
set
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Data.DataTable" /> to which the constraint applies.</summary>
|
||||
/// <returns>A <see cref="T:System.Data.DataTable" /> to which the constraint applies.</returns>
|
||||
// Token: 0x17000008 RID: 8
|
||||
// (get) Token: 0x06000024 RID: 36
|
||||
[Token(Token = "0x17000008")]
|
||||
public abstract DataTable Table
|
||||
{
|
||||
[Token(Token = "0x6000024")]
|
||||
[Address(Slot = "8")]
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>Gets the collection of user-defined constraint properties.</summary>
|
||||
/// <returns>A <see cref="T:System.Data.PropertyCollection" /> of custom information.</returns>
|
||||
// Token: 0x17000009 RID: 9
|
||||
// (get) Token: 0x06000025 RID: 37 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x17000009")]
|
||||
[Browsable(false)]
|
||||
public PropertyCollection ExtendedProperties
|
||||
{
|
||||
[Token(Token = "0x6000025")]
|
||||
[Address(RVA = "0xCD8400", Offset = "0xCD7400", VA = "0x180CD8400")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000026 RID: 38
|
||||
[Token(Token = "0x6000026")]
|
||||
[Address(Slot = "9")]
|
||||
internal abstract bool ContainsColumn(DataColumn column);
|
||||
|
||||
// Token: 0x06000027 RID: 39
|
||||
[Token(Token = "0x6000027")]
|
||||
[Address(Slot = "10")]
|
||||
internal abstract bool CanEnableConstraint();
|
||||
|
||||
// Token: 0x06000028 RID: 40
|
||||
[Token(Token = "0x6000028")]
|
||||
[Address(Slot = "11")]
|
||||
internal abstract Constraint Clone(DataSet destination);
|
||||
|
||||
// Token: 0x06000029 RID: 41
|
||||
[Token(Token = "0x6000029")]
|
||||
[Address(Slot = "12")]
|
||||
internal abstract Constraint Clone(DataSet destination, bool ignoreNSforTableLookup);
|
||||
|
||||
// Token: 0x0600002A RID: 42 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x600002A")]
|
||||
[Address(RVA = "0xCD8220", Offset = "0xCD7220", VA = "0x180CD8220")]
|
||||
internal void CheckConstraint()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x0600002B RID: 43
|
||||
[Token(Token = "0x600002B")]
|
||||
[Address(Slot = "13")]
|
||||
internal abstract void CheckCanAddToCollection(ConstraintCollection constraint);
|
||||
|
||||
// Token: 0x0600002C RID: 44
|
||||
[Token(Token = "0x600002C")]
|
||||
[Address(Slot = "14")]
|
||||
internal abstract bool CanBeRemovedFromCollection(ConstraintCollection constraint, bool fThrowException);
|
||||
|
||||
// Token: 0x0600002D RID: 45
|
||||
[Token(Token = "0x600002D")]
|
||||
[Address(Slot = "15")]
|
||||
internal abstract void CheckConstraint(DataRow row, DataRowAction action);
|
||||
|
||||
// Token: 0x0600002E RID: 46
|
||||
[Token(Token = "0x600002E")]
|
||||
[Address(Slot = "16")]
|
||||
internal abstract void CheckState();
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Data.DataSet" /> to which this constraint belongs.</summary>
|
||||
// Token: 0x0600002F RID: 47 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x600002F")]
|
||||
[Address(RVA = "0xCD8290", Offset = "0xCD7290", VA = "0x180CD8290")]
|
||||
protected void CheckStateForProperty()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Gets the <see cref="T:System.Data.DataSet" /> to which this constraint belongs.</summary>
|
||||
/// <returns>The <see cref="T:System.Data.DataSet" /> to which the constraint belongs.</returns>
|
||||
// Token: 0x1700000A RID: 10
|
||||
// (get) Token: 0x06000030 RID: 48 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x1700000A")]
|
||||
[CLSCompliant(false)]
|
||||
protected virtual DataSet _DataSet
|
||||
{
|
||||
[Token(Token = "0x6000030")]
|
||||
[Address(RVA = "0x4157C0", Offset = "0x4147C0", VA = "0x1804157C0", Slot = "17")]
|
||||
get
|
||||
{
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
// Token: 0x06000031 RID: 49
|
||||
[Token(Token = "0x6000031")]
|
||||
[Address(Slot = "18")]
|
||||
internal abstract bool IsConstraintViolated();
|
||||
|
||||
/// <summary>Gets the <see cref="P:System.Data.Constraint.ConstraintName" />, if there is one, as a string.</summary>
|
||||
/// <returns>The string value of the <see cref="P:System.Data.Constraint.ConstraintName" />.</returns>
|
||||
// Token: 0x06000032 RID: 50 RVA: 0x00002050 File Offset: 0x00000250
|
||||
[Token(Token = "0x6000032")]
|
||||
[Address(RVA = "0x69AEA0", Offset = "0x699EA0", VA = "0x18069AEA0", Slot = "3")]
|
||||
public override string ToString()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.Data.Constraint" /> class.</summary>
|
||||
// Token: 0x06000033 RID: 51 RVA: 0x0000206A File Offset: 0x0000026A
|
||||
[Token(Token = "0x6000033")]
|
||||
[Address(RVA = "0xCD83A0", Offset = "0xCD73A0", VA = "0x180CD83A0")]
|
||||
protected Constraint()
|
||||
{
|
||||
}
|
||||
|
||||
// Token: 0x04000012 RID: 18
|
||||
[FieldOffset(Offset = "0x10")]
|
||||
[Token(Token = "0x4000012")]
|
||||
private string _schemaName;
|
||||
|
||||
// Token: 0x04000013 RID: 19
|
||||
[FieldOffset(Offset = "0x18")]
|
||||
[Token(Token = "0x4000013")]
|
||||
private bool _inCollection;
|
||||
|
||||
// Token: 0x04000014 RID: 20
|
||||
[FieldOffset(Offset = "0x20")]
|
||||
[Token(Token = "0x4000014")]
|
||||
private DataSet _dataSet;
|
||||
|
||||
// Token: 0x04000015 RID: 21
|
||||
[FieldOffset(Offset = "0x28")]
|
||||
[Token(Token = "0x4000015")]
|
||||
internal string _name;
|
||||
|
||||
// Token: 0x04000016 RID: 22
|
||||
[FieldOffset(Offset = "0x30")]
|
||||
[Token(Token = "0x4000016")]
|
||||
internal PropertyCollection _extendedProperties;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user