Submitted by: fish (fishcodelib)
CREATE TABLE A (A integer)
CREATE VIEW V AS SELECT * FROM A
DROP TABLE A //with ExecuteReader() -> No exception
DROP TABLE A //with ExecuteNonQuery() -> throw the excaption: cannot delete COLUMN A.A there are 1 dependences.
If you use ExecuteNonQuery() then the exception will come up but if you use ExecuteReader() it will not come up.
Commits: fbf5789
Submitted by: fish (fishcodelib)
CREATE TABLE A (A integer)
CREATE VIEW V AS SELECT * FROM A
DROP TABLE A //with ExecuteReader() -> No exception
DROP TABLE A //with ExecuteNonQuery() -> throw the excaption: cannot delete COLUMN A.A there are 1 dependences.
If you use ExecuteNonQuery() then the exception will come up but if you use ExecuteReader() it will not come up.
Commits: fbf5789