Represents a data source on a template.


Namespace: Docentric.Documents.Reporting.TemplateManagement.Metadata
Assembly: Docentric.Documents.Reporting (in Docentric.Documents.Reporting.dll)
public class DataSource

The DataSource type exposes the following members.

Name Description
Public constructor .ctor(DataKind) Creates a default data source.
Public constructor .ctor(DataKind, String) Creates a named (non-default) data source.
Name Description
Public member DataKind Gets or sets the kind of the data source
Public member IsDefault Indicates whether this data source is the default data source. Only one data source defined by a template can be the default one.
Public member Name Gets or sets the name of the data source. Names of the data sources in a template must be unique.
Public member PreviewData Gets or sets the preview data for this data source.
Public member Schema Gets or sets the Schema object for this data source.
Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object)
Public method GetType Gets the Type of the current instance. (Inherited from Object)
Public method ToString Returns a String that represents the current Object. (Inherited from Object)