Class StoreTemplate
A basic store template where the only parameter is the Store ID.
Implements
Inherited Members
Namespace: VDS.RDF.Storage.Management.Provisioning
Assembly: dotNetRdf.dll
Syntax
public class StoreTemplate : IStoreTemplate
Constructors
| Edit this page View SourceStoreTemplate(string)
Creates a new template.
Declaration
public StoreTemplate(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Store ID. |
StoreTemplate(string, string, string)
Creates a new template.
Declaration
public StoreTemplate(string id, string name, string description)
Parameters
| Type | Name | Description |
|---|---|---|
| string | id | Store ID. |
| string | name | Template Name. |
| string | description | Template Description. |
Properties
| Edit this page View SourceID
Gets/Sets the Store ID.
Declaration
public string ID { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TemplateDescription
Gets the description of the type of store the template will create.
Declaration
public string TemplateDescription { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
TemplateName
Gets the name of the type of store the template will create.
Declaration
public string TemplateName { get; protected set; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
| Edit this page View SourceToString()
Gets the string representation of the template which is the Template Name.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
| Edit this page View SourceValidate()
Validates the template.
Declaration
public virtual IEnumerable<string> Validate()
Returns
| Type | Description |
|---|---|
| IEnumerable<string> |
Remarks
This default implementation does no validation, derived classes must override this to add their required validation.