Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试一些 TServerMethods 并且所有这些都与我的 Firebird DB 交互。
我不想在我将创建的每个方法中都获取 SQLConnection.DBXConnection,但我想从一个超类继承该行为,该超类将在每次调用我的 ServerMethod 时、在继承的 Create 或类似的东西中设置一个受保护的 DBXConnection那。
除了每次调用我的程序 SetupDBXConnection 之外,我还能找到任何方法。有什么办法可以做到吗?
谢谢。