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.
次のコードがあるとしましょう:
DacClass cl = new DacClass(); //init fields of DacClass() this.Persist();
しかし、このコードを任意のグラフで実行すると、さまざまなエラーが発生します。なんで?
現在のグラフのデータベースに DAC アイテムを作成することはできません。T200マニュアルに記載されているように、グラフのインスタンスを作成し、作成されたインスタンスでメソッドpersistを呼び出す必要があります。もう 1 つのオプションは、メソッド PXDataBase.Insert を使用することです。グラフ ロジックを挿入する必要がある場合は、最初のオプションが適しています。2 番目のオプションは、パフォーマンスが必要な場合に適しています。