Class OracleExtensions
Inherited Members
Namespace: FluentMigrator.Oracle
Assembly: FluentMigrator.Extensions.Oracle.dll
Syntax
public static class OracleExtensions
Properties
IdentityGeneration
Declaration
public static string IdentityGeneration { get; }
Property Value
| Type | Description |
|---|---|
| string |
IdentityIncrementBy
Declaration
public static string IdentityIncrementBy { get; }
Property Value
| Type | Description |
|---|---|
| string |
IdentityMaxValue
Declaration
public static string IdentityMaxValue { get; }
Property Value
| Type | Description |
|---|---|
| string |
IdentityMinValue
Declaration
public static string IdentityMinValue { get; }
Property Value
| Type | Description |
|---|---|
| string |
IdentityStartWith
Declaration
public static string IdentityStartWith { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
Identity<TNext, TNextFk>(IColumnOptionSyntax<TNext, TNextFk>, OracleGenerationType)
Makes a column an Identity column using the specified generation type.
Declaration
public static TNext Identity<TNext, TNextFk>(this IColumnOptionSyntax<TNext, TNextFk> expression, OracleGenerationType generation) where TNext : IFluentSyntax where TNextFk : IFluentSyntax
Parameters
| Type | Name | Description |
|---|---|---|
| IColumnOptionSyntax<TNext, TNextFk> | expression | Column on which to apply the identity. |
| OracleGenerationType | generation | The generation type |
Returns
| Type | Description |
|---|---|
| TNext |
Type Parameters
| Name | Description |
|---|---|
| TNext | |
| TNextFk |
Identity<TNext, TNextFk>(IColumnOptionSyntax<TNext, TNextFk>, OracleGenerationType, int, int)
Makes a column an Identity column using the specified generation type, seed and increment values.
Declaration
public static TNext Identity<TNext, TNextFk>(this IColumnOptionSyntax<TNext, TNextFk> expression, OracleGenerationType generation, int startWith, int incrementBy) where TNext : IFluentSyntax where TNextFk : IFluentSyntax
Parameters
| Type | Name | Description |
|---|---|---|
| IColumnOptionSyntax<TNext, TNextFk> | expression | Column on which to apply the identity. |
| OracleGenerationType | generation | The generation type |
| int | startWith | Starting value of the identity. |
| int | incrementBy | Increment value of the identity. |
Returns
| Type | Description |
|---|---|
| TNext |
Type Parameters
| Name | Description |
|---|---|
| TNext | |
| TNextFk |
Identity<TNext, TNextFk>(IColumnOptionSyntax<TNext, TNextFk>, OracleGenerationType, long, int)
Makes a column an Identity column using the specified generation type, seed and increment values with bigint support.
Declaration
public static TNext Identity<TNext, TNextFk>(this IColumnOptionSyntax<TNext, TNextFk> expression, OracleGenerationType generation, long startWith, int incrementBy) where TNext : IFluentSyntax where TNextFk : IFluentSyntax
Parameters
| Type | Name | Description |
|---|---|---|
| IColumnOptionSyntax<TNext, TNextFk> | expression | Column on which to apply the identity. |
| OracleGenerationType | generation | The generation type |
| long | startWith | Starting value of the identity. |
| int | incrementBy | Increment value of the identity. |
Returns
| Type | Description |
|---|---|
| TNext |
Type Parameters
| Name | Description |
|---|---|
| TNext | |
| TNextFk |
Identity<TNext, TNextFk>(IColumnOptionSyntax<TNext, TNextFk>, OracleGenerationType, long, int, long, long)
Makes a column an Identity column using the specified generation type, startWith, increment, minValue and maxValue with bigint support.
Declaration
public static TNext Identity<TNext, TNextFk>(this IColumnOptionSyntax<TNext, TNextFk> expression, OracleGenerationType generation, long startWith, int incrementBy, long minValue, long maxValue) where TNext : IFluentSyntax where TNextFk : IFluentSyntax
Parameters
| Type | Name | Description |
|---|---|---|
| IColumnOptionSyntax<TNext, TNextFk> | expression | Column on which to apply the identity. |
| OracleGenerationType | generation | The generation type |
| long | startWith | Starting value of the identity. |
| int | incrementBy | Increment value of the identity. |
| long | minValue | Min value of the identity. |
| long | maxValue | Max value of the identity. |
Returns
| Type | Description |
|---|---|
| TNext |
Type Parameters
| Name | Description |
|---|---|
| TNext | |
| TNextFk |