Class CustomDataItemProvider
- Namespace
- Dynamicweb.Deployment.Examples
- Assembly
- Dynamicweb.Deployment.Examples.dll
This is an example of how to implement a custom data item provider.
Data item providers inherit from ConfigurableAddIn which means that you can add additional parameters for use when reading or writing data items.
public class CustomDataItemProvider : DataItemProvider
- Inheritance
-
CustomDataItemProvider
- Inherited Members
Properties
MyProperty
Gets or sets my property.
[AddInParameter("MyProperty")]
public string MyProperty { get; set; }
Property Value
Methods
CreateReader()
Creates the data item reader.
public override DataItemReader CreateReader()
Returns
- DataItemReader
- An instance of DataItemReader.
CreateWriter()
Creates the data item writer.
public override DataItemWriter CreateWriter()
Returns
- DataItemWriter
- An instance of DataItemWriter.