RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDataSetProvider.CreateResolver Method

Creates a resolver component for handling the application of updates.

Pascal
function CreateResolver: TCustomResolver; override;
C++
virtual __fastcall TCustomResolver CreateResolver();

CreateResolver is called automatically when a resolver is needed to implement one of the provider's methods. CreateResolver returns a newly instantiated resolver object, which is assigned to the Resolver property. The type of resolver created depends on the ResolveToDataSet property: 

When ResolveToDataSet is true, CreateResolver returns a TDataSetResolver component, which applies updates directly to the dataset specified by the DataSet property. 

When ResolveToDataSet is false, CreateResolver returns a TSQLResolver component, which applies updates directly to the database server associated with DataSet

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!