Method | 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 | |
return | IAddedForeignKey |
public static AddIndex ( this table ) : IAddedIndex | ||
table | this | |
return | IAddedIndex |
public static AddPrimaryKey ( this table ) : IAddedPrimaryKey | ||
table | this | |
return | IAddedPrimaryKey |
public static AddUniqueConstraint ( this table ) : IAddedUniqueConstraint | ||
table | this | |
return | IAddedUniqueConstraint |
public static ForeignKeyTo ( this table, string referencedTableName ) : IForeignKey | ||
table | this | |
referencedTableName | string | |
return | IForeignKey |
public static PrimaryKey ( this table ) : IExistingPrimaryKey | ||
table | this | |
return | IExistingPrimaryKey |
public static UniqueConstraintOf ( this table, string firstColumnName ) : IUniqueConstraint | ||
table | this | |
firstColumnName | string | |
return | IUniqueConstraint |