IMutableSequence Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a database sequence in the model.
public interface IMutableSequence : Microsoft.EntityFrameworkCore.Metadata.ISequence
public interface IMutableSequence : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.ISequence
public interface IMutableSequence : Microsoft.EntityFrameworkCore.Metadata.IMutableAnnotatable, Microsoft.EntityFrameworkCore.Metadata.IReadOnlySequence
type IMutableSequence = interface
interface ISequence
type IMutableSequence = interface
interface ISequence
interface IAnnotatable
interface IMutableAnnotatable
type IMutableSequence = interface
interface IReadOnlySequence
interface IReadOnlyAnnotatable
interface IMutableAnnotatable
Public Interface IMutableSequence
Implements ISequence
Public Interface IMutableSequence
Implements IMutableAnnotatable, ISequence
Public Interface IMutableSequence
Implements IMutableAnnotatable, IReadOnlySequence
- Implements
Remarks
See Database sequences for more information and examples.
Properties
ClrType |
Obsolete.
Gets or sets the Type of values returned by the sequence. |
IncrementBy |
Gets or sets the amount incremented to obtain each new value in the sequence. |
IsCyclic |
Gets or sets the a value indicating whether the sequence will start again from the beginning when the max value is reached. |
Item[String] |
Gets the value of the annotation with the given name, returning |
MaxValue |
Gets or sets the maximum value supported by the sequence, or |
MinValue |
Gets or sets the minimum value supported by the sequence, or |
Model |
Gets the IMutableModel in which this sequence is defined. |
ModelSchema |
Gets the model schema of the sequence. This is the one specified in HasSequence(ModelBuilder, String, String) and the one to use with FindSequence(IConventionModel, String, String). (Inherited from IReadOnlySequence) |
Name |
Gets the name of the sequence in the database. (Inherited from IReadOnlySequence) |
Schema |
Gets the database schema that contains the sequence. (Inherited from IReadOnlySequence) |
StartValue |
Gets or sets the value at which the sequence will start. |
Type |
Gets or sets the Type of values returned by the sequence. |
Methods
AddAnnotation(String, Object) |
Adds an annotation to this object. Throws if an annotation with the specified name already exists. (Inherited from IMutableAnnotatable) |
AddAnnotations(IEnumerable<IAnnotation>) |
Adds annotations to an object. (Inherited from IMutableAnnotatable) |
AddRuntimeAnnotation(String, Object) |
Adds a runtime annotation to this object. Throws if an annotation with the specified name already exists. (Inherited from IAnnotatable) |
AnnotationsToDebugString(Int32) |
Gets the debug string for all annotations declared on the object. (Inherited from IReadOnlyAnnotatable) |
FindAnnotation(String) |
Gets the annotation with the given name, returning |
FindRuntimeAnnotation(String) |
Gets the runtime annotation with the given name, returning |
FindRuntimeAnnotationValue(String) |
Gets the value of the runtime annotation with the given name, returning |
GetAnnotation(String) |
Gets the annotation with the given name, throwing if it does not exist. (Inherited from IReadOnlyAnnotatable) |
GetAnnotations() |
Gets all annotations on the current object. (Inherited from IReadOnlyAnnotatable) |
GetOrAddRuntimeAnnotationValue<TValue,TArg>(String, Func<TArg,TValue>, TArg) |
Gets the value of the runtime annotation with the given name, adding it if one does not exist. (Inherited from IAnnotatable) |
GetRuntimeAnnotations() |
Gets all the runtime annotations on the current object. (Inherited from IAnnotatable) |
RemoveAnnotation(String) |
Removes the given annotation from this object. (Inherited from IMutableAnnotatable) |
RemoveRuntimeAnnotation(String) |
Removes the given runtime annotation from this object. (Inherited from IAnnotatable) |
SetAnnotation(String, Object) |
Sets the annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists. (Inherited from IMutableAnnotatable) |
SetOrRemoveAnnotation(String, Object) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an
annotation with the specified name already exists. Removes the existing annotation if |
SetRuntimeAnnotation(String, Object) |
Sets the runtime annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists. (Inherited from IAnnotatable) |
ToDebugString(MetadataDebugStringOptions, Int32) |
Creates a human-readable representation of the given metadata. Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases. (Inherited from IReadOnlySequence) |
Extension Methods
AnnotationsToDebugString(IAnnotatable, Int32) |
Gets the debug string for all annotations declared on the object. |
GetAnnotation(IAnnotatable, String) |
Gets the annotation with the given name, throwing if it does not exist. |
ToDebugString(ISequence, MetadataDebugStringOptions, Int32) |
Creates a human-readable representation of the given metadata. Warning: Do not rely on the format of the returned string. It is designed for debugging only and may change arbitrarily between releases. |
AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>) |
Adds annotations to an object. |
GetAnnotation(IMutableAnnotatable, String) |
Gets the annotation with the given name, throwing if it does not exist. |
SetOrRemoveAnnotation(IMutableAnnotatable, String, Object) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an
annotation with the specified name already exists. Removes the existing annotation if |
Applies to
Entity Framework