Show / Hide Table of Contents

Class ConstraintEntity

Constraint is not used as an independent entity, it is retrieved as part of another entity such as Table or View.

Inheritance
object
ConstraintEntity
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DatabaseMigrationService.v1.Data
Assembly: Google.Apis.DatabaseMigrationService.v1.dll
Syntax
public class ConstraintEntity : IDirectResponseSchema

Properties

CustomFeatures

Custom engine specific features.

Declaration
[JsonProperty("customFeatures")]
public virtual IDictionary<string, object> CustomFeatures { get; set; }
Property Value
Type Description
IDictionary<string, object>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Name

The name of the table constraint.

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

ReferenceColumns

Reference columns which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign key.

Declaration
[JsonProperty("referenceColumns")]
public virtual IList<string> ReferenceColumns { get; set; }
Property Value
Type Description
IList<string>

ReferenceTable

Reference table which may be associated with the constraint. For example, if the constraint is a FOREIGN_KEY, this represents the list of full name of the referenced table by the foreign key.

Declaration
[JsonProperty("referenceTable")]
public virtual string ReferenceTable { get; set; }
Property Value
Type Description
string

TableColumns

Table columns used as part of the Constraint, for example primary key constraint should list the columns which constitutes the key.

Declaration
[JsonProperty("tableColumns")]
public virtual IList<string> TableColumns { get; set; }
Property Value
Type Description
IList<string>

TableName

Table which is associated with the constraint. In case the constraint is defined on a table, this field is left empty as this information is stored in parent_name. However, if constraint is defined on a view, this field stores the table name on which the view is defined.

Declaration
[JsonProperty("tableName")]
public virtual string TableName { get; set; }
Property Value
Type Description
string

Type

Type of constraint, for example unique, primary key, foreign key (currently only primary key is supported).

Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX