Table of Contents

Class ProviderExtensions

Namespace
Dynamicweb.DataIntegration.ProviderHelpers
Assembly
Dynamicweb.DataIntegration.dll
public static class ProviderExtensions
Inheritance
ProviderExtensions
Inherited Members

Methods

GetDestinationProvider(string)

public static IDestination? GetDestinationProvider(string provider)

Parameters

provider string

Returns

IDestination

GetSourceProviderType(string)

public static Type? GetSourceProviderType(string fileExtension)

Parameters

fileExtension string

Returns

Type

GetTableOptions(IDestination)

Retrieves a dictionary of table options supported by the specified destination.

public static Dictionary<string, string> GetTableOptions(this IDestination destination)

Parameters

destination IDestination

The destination for which to retrieve the supported table options. Cannot be null.

Returns

Dictionary<string, string>

A dictionary where the keys are the names of the table options and the values are their descriptions. Only options supported by the specified destination are included.

Remarks

This method filters out any table options that are not supported by the specified destination. The returned dictionary can be used to display or configure table options for the destination.

IsDestinationFileProvider(IDestination)

public static bool IsDestinationFileProvider(this IDestination destination)

Parameters

destination IDestination

Returns

bool

IsDestinationFileProvider(Type)

public static bool IsDestinationFileProvider(this Type type)

Parameters

type Type

Returns

bool

IsReadingSourceXmlFinished(Job)

public static bool IsReadingSourceXmlFinished(this Job job)

Parameters

job Job

Returns

bool

IsSourceFileProvider(ISource)

public static bool IsSourceFileProvider(this ISource source)

Parameters

source ISource

Returns

bool

IsSourceFileProvider(Type)

public static bool IsSourceFileProvider(this Type type)

Parameters

type Type

Returns

bool

IsTableOptionsFeatureSupported(IDestination)

Determines whether the specified destination supports the table options feature. This feature is available for SqlProvider, EcomProvider, DynamicwebProvider, XmlProvider, UserProvider, and OrderProvider.

public static bool IsTableOptionsFeatureSupported(this IDestination destination)

Parameters

destination IDestination

The destination

Returns

bool

SetPrimaryKeyColumn(Table?, string)

public static void SetPrimaryKeyColumn(this Table? table, string columnName)

Parameters

table Table
columnName string
To top