TSQLSequence class
Support for applying sequences to fields.
Declaration
TSQLSequence = class(TPersistent)Inheritance
- TSQLSequence
- TPersistent
- TObject
Description
TSQLSequence is an auxiliary class, used to auto-generate
numerical values for fields in databases that support sequences; it
is used as a property of
TSQLQuery and its properties
determine which field must be auto-generated, and at what moment this value
must be generated.See also
Properties
FieldName | published | Field to apply sequence to. |
SequenceName | published | Sequence name to get values from. |
IncrementBy | published | Value to increment sequence with. |
ApplyEvent | published | When to apply the new value. |
Methods
Create | public | Create a new instance. |
Assign | public | Assign one TSQLSequence to another. |
Apply | public | Apply a new value to a field. |
GetNextValue | public | Get a next value for the sequence. |
Inherited
From TPersistent (8)
AssignTo DefineProperties Destroy FPOAttachObserver FPODetachObserver FPONotifyObservers GetNamePath GetOwner
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
