Sequence Sequence Class

Definition

public class Sequence : ISequence
Public Class Sequence
    Implements ISequence
Inheritance
System.ObjectSystem.Object
SequenceSequence
Implements

Fields

DefaultClrType DefaultClrType

public static readonly Type DefaultClrType
Public Shared ReadOnly DefaultClrType As Type

DefaultIncrementBy DefaultIncrementBy

public const int DefaultIncrementBy = 1
Public Const DefaultIncrementBy As Integer = 1

DefaultIsCyclic DefaultIsCyclic

public static readonly bool DefaultIsCyclic
Public Shared ReadOnly DefaultIsCyclic As Boolean

DefaultMaxValue DefaultMaxValue

public static readonly long ? DefaultMaxValue
Public Shared ReadOnly DefaultMaxValue As Long?

DefaultMinValue DefaultMinValue

public static readonly long ? DefaultMinValue
Public Shared ReadOnly DefaultMinValue As Long?

DefaultStartValue DefaultStartValue

public const int DefaultStartValue = 1
Public Const DefaultStartValue As Integer = 1

Properties

ClrType ClrType

public virtual Type ClrType { get; set; }
Public Overridable Property ClrType As Type
Value
System.Type System.Type

IncrementBy IncrementBy

public virtual int IncrementBy { get; set; }
Public Overridable Property IncrementBy As Integer
Value
System.Int32 System.Int32

IsCyclic IsCyclic

public virtual bool IsCyclic { get; set; }
Public Overridable Property IsCyclic As Boolean
Value
System.Boolean System.Boolean

MaxValue MaxValue

public virtual long ? MaxValue { get; set; }
Public Overridable Property MaxValue As Long?
Value
System.Nullable<System.Int64> System.Nullable(Of System.Int64)

MinValue MinValue

public virtual long ? MinValue { get; set; }
Public Overridable Property MinValue As Long?
Value
System.Nullable<System.Int64> System.Nullable(Of System.Int64)

Model Model

public virtual Model Model { get; }
Public Overridable ReadOnly Property Model As Model
Value
Model Model

Name Name

public virtual string Name { get; }
Public Overridable ReadOnly Property Name As String
Value
System.String System.String

Schema Schema

public virtual string Schema { get; }
Public Overridable ReadOnly Property Schema As String
Value
System.String System.String

StartValue StartValue

public virtual long StartValue { get; set; }
Public Overridable Property StartValue As Long
Value
System.Int64 System.Int64

SupportedTypes SupportedTypes

public static IReadOnlyCollection<Type> SupportedTypes { get; }
Public Shared ReadOnly Property SupportedTypes As IReadOnlyCollection(Of Type)
Value
System.Collections.Generic.IReadOnlyCollection<System.Type> System.Collections.Generic.IReadOnlyCollection(Of System.Type)

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

FindSequence(IModel, String, String, String) FindSequence(IModel, String, String, String)

public static ISequence FindSequence(IModel model, string annotationPrefix, string name, string schema = null)
Public Shared Function FindSequence(model As IModel, annotationPrefix As String, name As String, schema As String = Nothing) As ISequence
Parameters
model
IModel IModel
annotationPrefix
System.String System.String
name
System.String System.String
schema
System.String System.String
Returns

FindSequence(IMutableModel, String, String, String) FindSequence(IMutableModel, String, String, String)

public static Sequence FindSequence(IMutableModel model, string annotationPrefix, string name, string schema = null)
Public Shared Function FindSequence(model As IMutableModel, annotationPrefix As String, name As String, schema As String = Nothing) As Sequence
Parameters
annotationPrefix
System.String System.String
name
System.String System.String
schema
System.String System.String
Returns

GetHashCode() GetHashCode()

Inherited from System.Object

GetOrAddSequence(IMutableModel, String, String, String) GetOrAddSequence(IMutableModel, String, String, String)

public static Sequence GetOrAddSequence(IMutableModel model, string annotationPrefix, string name, string schema = null)
Public Shared Function GetOrAddSequence(model As IMutableModel, annotationPrefix As String, name As String, schema As String = Nothing) As Sequence
Parameters
annotationPrefix
System.String System.String
name
System.String System.String
schema
System.String System.String
Returns

GetSequences(IModel, String) GetSequences(IModel, String)

public static IEnumerable<ISequence> GetSequences(IModel model, string annotationPrefix)
Public Shared Function GetSequences(model As IModel, annotationPrefix As String) As IEnumerable(Of ISequence)
Parameters
model
IModel IModel
annotationPrefix
System.String System.String
Returns
System.Collections.Generic.IEnumerable<ISequence> System.Collections.Generic.IEnumerable(Of ISequence)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

Explicit Interface Implementations

ISequence.ClrType Microsoft.EntityFrameworkCore.Metadata.ISequence.ClrType

Type ISequence.ClrType { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ISequence.ClrType As Type Implements ISequence.ClrType
Returns
System.Type System.Type

ISequence.IncrementBy Microsoft.EntityFrameworkCore.Metadata.ISequence.IncrementBy

int ISequence.IncrementBy { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ISequence.IncrementBy As Integer Implements ISequence.IncrementBy
Returns
System.Int32 System.Int32

ISequence.IsCyclic Microsoft.EntityFrameworkCore.Metadata.ISequence.IsCyclic

bool ISequence.IsCyclic { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ISequence.IsCyclic As Boolean Implements ISequence.IsCyclic
Returns
System.Boolean System.Boolean

ISequence.MaxValue Microsoft.EntityFrameworkCore.Metadata.ISequence.MaxValue

long ? ISequence.MaxValue { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ISequence.MaxValue As Long? Implements ISequence.MaxValue
Returns
System.Nullable<System.Int64> System.Nullable(Of System.Int64)

ISequence.MinValue Microsoft.EntityFrameworkCore.Metadata.ISequence.MinValue

long ? ISequence.MinValue { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ISequence.MinValue As Long? Implements ISequence.MinValue
Returns
System.Nullable<System.Int64> System.Nullable(Of System.Int64)

ISequence.Model Microsoft.EntityFrameworkCore.Metadata.ISequence.Model

IModel ISequence.Model { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ISequence.Model As IModel Implements ISequence.Model
Returns

ISequence.StartValue Microsoft.EntityFrameworkCore.Metadata.ISequence.StartValue

long ISequence.StartValue { get; }
ReadOnly WriteOnly Property Microsoft.EntityFrameworkCore.Metadata.ISequence.StartValue As Long Implements ISequence.StartValue
Returns
System.Int64 System.Int64