DBF 7 Referential integrity

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ziclope
Posts: 27
Joined: Fri 24 Feb 2006 11:34

DBF 7 Referential integrity

Post by ziclope » Fri 20 Oct 2017 11:20

Hello,

I am trying new driver for DBF but I have an issue

When I delete master record, it does not delete details see tables below

Code: Select all

 CREATE TABLE CUSTOMER
(
  CUSTNO	INTEGER NOT NULL,
  COMPANY	CHAR(30),
  PRIMARY KEY CUSTNO
);

   CREATE TABLE CUSTOMER_ADDRESS
(
  ID_ADDRESS INTEGER NOT NULL,
  CUSTNO	INTEGER FOREIGN KEY REFERENCES CUSTOMER (CUSTNO) ON DELETE CASCADE ON UPDATE CASCADE,
  ADDRESS	CHAR(30),
  PRIMARY KEY ID_ADDRESS
);
Regards

azyk
Devart Team
Posts: 1119
Joined: Fri 11 Apr 2014 11:47
Location: Alpha Centauri A

Re: DBF 7 Referential integrity

Post by azyk » Tue 24 Oct 2017 10:30

Currently, TDBFUniProvider does not support the specified functionality. We added implementation of referential integrity for TDBFUniProvider to our roadmap.

Post Reply