You are not logged in.
Pages: 1
I need to find all the references to the record, just like the TSQLRestServer.AfterDeleteForceCoherency method does. All the information I need is stored in fRecordReferences, but I can’t get to it.
/// this array contain all TRecordReference and TSQLRecord properties
// existing in the database model
// - used in TSQLRestServer.Delete() to enforce relational database coherency
// after deletion of a record: all other records pointing to it will be
// reset to 0 or deleted (if CascadeDelete is true) by
// TSQLRestServer.AfterDeleteForceCoherency
fRecordReferences: array of TSQLModelRecordReference;
Can I access this array?
Offline
Three lines of code will make me the happiest person
@ab, please
TSQLModelRecordReferenceArray = array of TSQLModelRecordReference;
...
fRecordReferences: TSQLModelRecordReferenceArray;
public
property RecordReferences: TSQLModelRecordReferenceArray read fRecordReferences;
Offline
Online
Thanks @ab, you are the best!
Offline
Pages: 1