View Source
Interface IColumnOptionBuilder<TNext, TNextFk>
Assembly: Umbraco.Infrastructure.dll
Syntax
public interface IColumnOptionBuilder<out TNext, out TNextFk> : IFluentBuilder where TNext : IFluentBuilder where TNextFk : IFluentBuilder
Type Parameters
Name |
Description |
TNext |
|
TNextFk |
|
Methods
View Source
ForeignKey()
Declaration
Returns
View Source
ForeignKey(String, String)
Declaration
TNextFk ForeignKey(string primaryTableName, string primaryColumnName)
Parameters
Type |
Name |
Description |
System.String |
primaryTableName |
|
System.String |
primaryColumnName |
|
Returns
View Source
ForeignKey(String, String, String)
Declaration
TNextFk ForeignKey(string foreignKeyName, string primaryTableName, string primaryColumnName)
Parameters
Type |
Name |
Description |
System.String |
foreignKeyName |
|
System.String |
primaryTableName |
|
System.String |
primaryColumnName |
|
Returns
View Source
ForeignKey(String, String, String, String)
Declaration
TNextFk ForeignKey(string foreignKeyName, string primaryTableSchema, string primaryTableName, string primaryColumnName)
Parameters
Type |
Name |
Description |
System.String |
foreignKeyName |
|
System.String |
primaryTableSchema |
|
System.String |
primaryTableName |
|
System.String |
primaryColumnName |
|
Returns
View Source
Identity()
Declaration
Returns
View Source
Indexed()
Declaration
Returns
View Source
Indexed(String)
Declaration
TNext Indexed(string indexName)
Parameters
Type |
Name |
Description |
System.String |
indexName |
|
Returns
View Source
NotNullable()
Declaration
Returns
View Source
Nullable()
Declaration
Returns
View Source
PrimaryKey()
Declaration
Returns
View Source
PrimaryKey(String)
Declaration
TNext PrimaryKey(string primaryKeyName)
Parameters
Type |
Name |
Description |
System.String |
primaryKeyName |
|
Returns
View Source
ReferencedBy(String, String)
Declaration
TNextFk ReferencedBy(string foreignTableName, string foreignColumnName)
Parameters
Type |
Name |
Description |
System.String |
foreignTableName |
|
System.String |
foreignColumnName |
|
Returns
View Source
ReferencedBy(String, String, String)
Declaration
TNextFk ReferencedBy(string foreignKeyName, string foreignTableName, string foreignColumnName)
Parameters
Type |
Name |
Description |
System.String |
foreignKeyName |
|
System.String |
foreignTableName |
|
System.String |
foreignColumnName |
|
Returns
View Source
ReferencedBy(String, String, String, String)
Declaration
TNextFk ReferencedBy(string foreignKeyName, string foreignTableSchema, string foreignTableName, string foreignColumnName)
Parameters
Type |
Name |
Description |
System.String |
foreignKeyName |
|
System.String |
foreignTableSchema |
|
System.String |
foreignTableName |
|
System.String |
foreignColumnName |
|
Returns
View Source
Unique()
Declaration
Returns
View Source
Unique(String)
Declaration
TNext Unique(string indexName)
Parameters
Type |
Name |
Description |
System.String |
indexName |
|
Returns
View Source
WithDefault(SystemMethods)
Declaration
TNext WithDefault(SystemMethods method)
Parameters
Returns
View Source
WithDefaultValue(Object)
Declaration
TNext WithDefaultValue(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns