Datasnap.Xmlxform.TXMLTransformProvider.InternalApplyUpdates
Delphi
function InternalApplyUpdates(const Delta: OleVariant; MaxErrors: Integer; out ErrorCount: Integer): OleVariant; override;
C++
virtual System::OleVariant __fastcall InternalApplyUpdates(const System::OleVariant &Delta, int MaxErrors, /* out */ int &ErrorCount);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | protected | Datasnap.Xmlxform.pas Datasnap.Xmlxform.hpp |
Datasnap.Xmlxform | TXMLTransformProvider |
説明
ApplyUpdates メソッドの基底の実装を提供します。
Datasnap.Xmlxform.TXMLTransformProvider.InternalApplyUpdates は Datasnap.Provider.TCustomProvider.InternalApplyUpdates を継承しています。以下の内容はすべて Datasnap.Provider.TCustomProvider.InternalApplyUpdates を参照しています。
ApplyUpdates メソッドの基底の実装を提供します。
ApplyUpdates メソッドは,InternalApplyUpdates メソッドを呼び出して,BeforeApplyUpdates イベントを生成した後,および AfterApplyUpdates イベントを生成する前にデルタパケットに含まれる更新を適用します。TCustomProvider の InternalApplyUpdates メソッドは,抽象メソッド(Delphi)または純粋仮想メソッド(C++)であるため,実装されていません。下位クラスは,このメソッドをオーバーライドして更新を適用し,更新エラーを解決し,適用できなかった更新を返します。
Delta パラメータは,適用される挿入,削除,修正を含むデルタパケットです。
MaxErrors パラメータは,エラーがいくつ発生したら更新処理を中止するかを示します。MaxErrors が -1 の場合,プロバイダはすべての更新を適用します。
ErrorCount パラメータは,更新処理中に発生したエラーの数を返します。
InternalApplyUpdates は,OleVariant としてデータベースに適用できなかった更新のデータパケットを返します。