Méthode | Description | |
---|---|---|
AddForeignKeyTo ( this table, string referencedTableName ) : IAddedForeignKey |
Adds a foreign key constraint to another table within the same schema with a default foreign key name.
|
|
AddIndex ( this table ) : IAddedIndex |
Adds an index to the table.
|
|
AddPrimaryKey ( this table ) : IAddedPrimaryKey |
Adds a primary key constraint to the table with the default name.
|
|
AddUniqueConstraint ( this table ) : IAddedUniqueConstraint |
Adds an unique constraint to the table with the default name.
|
|
ForeignKeyTo ( this table, string referencedTableName ) : IForeignKey |
Gets an foreign key constraint by the name of its referenced table.
|
|
PrimaryKey ( this table ) : IExistingPrimaryKey |
Gets the primary key constraint of the table with the default name.
|
|
UniqueConstraintOf ( this table, string firstColumnName ) : IUniqueConstraint |
Gets an unique constraint by the name of its first column.
|
public static AddForeignKeyTo ( this table, string referencedTableName ) : IAddedForeignKey | ||
table | this | |
referencedTableName | string | |
Résultat | IAddedForeignKey |
public static AddIndex ( this table ) : IAddedIndex | ||
table | this | |
Résultat | IAddedIndex |
public static AddPrimaryKey ( this table ) : IAddedPrimaryKey | ||
table | this | |
Résultat | IAddedPrimaryKey |
public static AddUniqueConstraint ( this table ) : IAddedUniqueConstraint | ||
table | this | |
Résultat | IAddedUniqueConstraint |
public static ForeignKeyTo ( this table, string referencedTableName ) : IForeignKey | ||
table | this | |
referencedTableName | string | |
Résultat | IForeignKey |
public static PrimaryKey ( this table ) : IExistingPrimaryKey | ||
table | this | |
Résultat | IExistingPrimaryKey |
public static UniqueConstraintOf ( this table, string firstColumnName ) : IUniqueConstraint | ||
table | this | |
firstColumnName | string | |
Résultat | IUniqueConstraint |