The SequenceGenerator type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| SequenceGenerator | Initializes a new instance of the SequenceGenerator class |
Methods
| Name | Description | |
|---|---|---|
| Configure |
Configures the SequenceGenerator by reading the value of sequence and
schema from the parms parameter.
| |
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| Generate | ||
| GeneratorKey |
Return a key unique to the underlying database objects for a SequenceGenerator.
| |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SqlCreateStrings |
The SQL required to create the database objects for a SequenceGenerator.
| |
| SqlDropString |
The SQL required to remove the underlying database objects for a SequenceGenerator.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| As<(Of <<'(T>)>>) | (Defined by TypeHelperExtensionMethods.) | |
| IsBetween |
Apply a "between" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(array<Object>[]()[][]) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsIn(ICollection) | Overloaded.
Apply an "in" constraint to the named property
Note: throws an exception outside of a QueryOver expression
(Defined by RestrictionExtensions.) | |
| IsProxy | (Defined by NHibernateProxyHelper.) | |
| ToTypeParameters | (Defined by ReflectHelper.) |
Fields
| Name | Description | |
|---|---|---|
| Parameters |
The parameters parameter, appended to the create sequence DDL.
For example (Oracle): INCREMENT BY 1 START WITH 1 MAXVALUE 100 NOCACHE.
| |
| Sequence |
The name of the sequence parameter.
|
Properties
| Name | Description | |
|---|---|---|
| SequenceName |