We have an ID column which is automatically populated by a sequence as below:
Code: Select all
[Column(Name = @"ID", Storage = "_Id", AutoSync = AutoSync.OnInsert, CanBeNull = false, DbType = "NUMBER(9) NOT NULL", IsDbGenerated = true, IsPrimaryKey = true)]
[Devart.Data.Linq.Mapping.SequenceGenerator(Sequence = "SEQ_PUMA_WORKFLOW_EXECUTION")]
public int Id
Could you please confirm if this is the case?
If yes, is there any alternative to ensure that the sequence numbers obey the order that the entities where created in the code?
Thanks in advance.