IDataSource Interface

Provides access to an external data for import or export operations. Every custom data source should implement this interface in order to be used properly.

Namespace: Xafari.Data
Assembly: Xafari.Data (in Xafari.Data.dll)

  • c#
  • VB

public interface IDataSource

Public Interface IDataSource
End Interface

Name Description
msdn2017/pubproperty DestinationPath Represents a string that contains the path where data will be stored during export operation.
msdn2017/pubproperty Schema Gets type mapping schema.
msdn2017/pubproperty SourcePath Represents a string that contains the path to the data that will be read during the import operation.
msdn2017/pubproperty Tables Gets collection of tables from data source.
Name Description
msdn2017/pubmethod Close() Closes data source.
msdn2017/pubmethod GetTable(string) Gets table by name.
msdn2017/pubmethod Open() Opens data source.
Name Description
msdn2017/pubevent Closed Occurs after the DataSource is closed.
msdn2017/pubevent Opened Occurs after the DataSource is opened.

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1