The SequenceGenerator type exposes the following members.

Constructors

  NameDescription
Public methodSequenceGenerator
Initializes a new instance of the SequenceGenerator class

Methods

  NameDescription
Public methodConfigure
Configures the SequenceGenerator by reading the value of sequence and schema from the parms parameter.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenerate
Generate an Int16, Int32, or Int64 for the identifier by using a database sequence.
Public methodGeneratorKey
Return a key unique to the underlying database objects for a SequenceGenerator.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSqlCreateStrings
The SQL required to create the database objects for a SequenceGenerator.
Public methodSqlDropString
The SQL required to remove the underlying database objects for a SequenceGenerator.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Extension Methods

  NameDescription
Public Extension MethodAs<(Of <<'(T>)>>) (Defined by TypeHelperExtensionMethods.)
Public Extension MethodIsBetween
Apply a "between" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(array<Object>[]()[][])Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsIn(ICollection)Overloaded.
Apply an "in" constraint to the named property Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.)
Public Extension MethodIsProxy (Defined by NHibernateProxyHelper.)
Public Extension MethodToTypeParameters (Defined by ReflectHelper.)

Fields

  NameDescription
Public fieldStatic memberParameters
The parameters parameter, appended to the create sequence DDL. For example (Oracle): INCREMENT BY 1 START WITH 1 MAXVALUE 100 NOCACHE.
Public fieldStatic memberSequence
The name of the sequence parameter.

Properties

  NameDescription
Public propertySequenceName

See Also