DataContractFetcher Class
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(QueryGeneratorFactory) Initializes a new instance of the DataContractFetcher class with a custom query generator factory.

Properties

Name Property Type Summary
DestinationQueryGenerationManager IQueryGenerator
Gets or sets the QueryGenerationManager instance for generating queries for the destination database.

Methods

Name Return Value Summary
GetDataFromDatabase<T>(string, IDatabase, IQueryGenerator, List<string>, PropertyEqualityComparer<T>, FilterCallback<T>) HashSet<T>
Retrieves data from a database for a specified table, columns, and data contract type.
RetrieveDataFromDatabases<T>(IDatabase, IDatabase, string, List<string>, PropertyEqualityComparer<T>, FilterCallback<T>, HashSet<T>, HashSet<T>) void
Retrieves data from source and destination databases for a specified table and column list, using a specified data contract type.