Files
linux-packaging-mono/mcs/class/System.Data/Documentation/en/System.Data/Constraint.xml
Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

221 lines
9.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Type Name="Constraint" FullName="System.Data.Constraint">
<TypeSignature Language="C#" Value="public abstract class Constraint" Maintainer="auto" />
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00]</AssemblyPublicKey>
<AssemblyVersion>1.0.3300.0</AssemblyVersion>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the &lt;link location="node:gtk-sharp/programming/threads"&gt;Gtk# Thread Programming&lt;/link&gt; for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Data.ConstraintConverter))</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.DefaultProperty("ConstraintName")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A constraint is a rule used to maintain the integrity of the data in the <see cref="T:System.Data.DataTable" />. For example, when you delete a value that is used in one or more related tables, a <see cref="T:System.Data.ForeignKeyConstraint" /> determines whether the values in the related tables are also deleted, set to null values, set to default values, or whether no action occurs. A <see cref="T:System.Data.UniqueConstraint" />, on the other hand, just makes sure that all values within a particular table are unique. For more information, see <format type="text/html"><a href="27C9F2FD-F64D-4B4E-BBF6-1D24F47067CB">Adding Constraints to a Table</a></format>.</para>
<para>A base <see cref="T:System.Data.Constraint" /> constructor is not used. Primary or unique key constraints are created by using the <see cref="T:System.Data.UniqueConstraint" /> constructor, and foreign key constraints are created by using the <see cref="T:System.Data.ForeignKeyConstraint" /> constructor.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a constraint that can be enforced on one or more <see cref="T:System.Data.DataColumn" /> objects.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="protected Constraint ();" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This constructor is called by derived class constructors to initialize state in this type.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Data.Constraint" /> class.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="_DataSet">
<MemberSignature Language="C#" Value="protected virtual System.Data.DataSet _DataSet { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.CLSCompliant(false)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Data.DataSet</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="T:System.Data.DataSet" /> to which this constraint belongs.</para>
</summary>
</Docs>
</Member>
<Member MemberName="CheckStateForProperty">
<MemberSignature Language="C#" Value="protected void CheckStateForProperty ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="T:System.Data.DataSet" /> to which this constraint belongs.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ConstraintName">
<MemberSignature Language="C#" Value="public virtual string ConstraintName { set; get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
</Parameters>
<Docs>
<value>To be added: an object of type 'string'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Data.ConstraintCollection" /> is returned by the <see cref="P:System.Data.DataTable.Constraints" /> property of the <see cref="T:System.Data.DataTable" /> class.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The name of a constraint in the <see cref="T:System.Data.ConstraintCollection" />.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="ExtendedProperties">
<MemberSignature Language="C#" Value="public System.Data.PropertyCollection ExtendedProperties { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Data.PropertyCollection</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'PropertyCollection'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Extended properties must be of type <see cref="T:System.String" />. Properties that are not of type <see cref="T:System.String" /> are not persisted when the <see cref="T:System.Data.Constraint" /> is written as XML.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the collection of user-defined constraint properties.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Browsable(false)</AttributeName>
</Attribute>
</Attributes>
</Member>
<Member MemberName="SetDataSet">
<MemberSignature Language="C#" Value="protected void SetDataSet (System.Data.DataSet dataSet);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="dataSet" Type="System.Data.DataSet" />
</Parameters>
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Sets the constraint's <see cref="T:System.Data.DataSet" />.</para>
</summary>
<param name="dataSet">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Data.DataSet" /> to which this constraint will belong. </param>
</Docs>
</Member>
<Member MemberName="Table">
<MemberSignature Language="C#" Value="public abstract System.Data.DataTable Table { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Data.DataTable</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'DataTable'</value>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="T:System.Data.DataTable" /> to which the constraint applies.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the <see cref="P:System.Data.Constraint.ConstraintName" />, if there is one, as a string.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The string value of the <see cref="P:System.Data.Constraint.ConstraintName" />.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>