Utility class for fetching data from a database using data contracts.
- Namespace
- DbSyncKit
.DB .Fetcher - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["DataContractFetcher"]
class Type type-node
Syntax
public class DataContractFetcher
Constructors
Name | Summary |
---|---|
DataContractFetcher |
Initializes a new instance of the DataContractFetcher class with a custom query generator factory.
|
Properties
Name | Property Type | Summary |
---|---|---|
Destination |
IQueryGenerator |
Gets or sets the QueryGenerationManager instance for generating queries for the destination database.
|
Methods
Name | Return Value | Summary |
---|---|---|
GetDataFromDatabase |
HashSet |
Retrieves data from a database for a specified table, columns, and data contract type.
|
Retrieve |
void |
Retrieves data from source and destination databases for a specified table and column list, using a specified data contract type.
|