Class StoreTemplate
A basic store template where the only parameter is the Store ID.
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: VDS.RDF.Storage.Management.Provisioning
Assembly: dotNetRDF.dll
Syntax
public class StoreTemplate : IStoreTemplate
Constructors
| Improve this Doc View SourceStoreTemplate(String)
Creates a new template.
Declaration
public StoreTemplate(string id)
Parameters
Type | Name | Description |
---|---|---|
System.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 |
---|---|---|
System.String | id | Store ID. |
System.String | name | Template Name. |
System.String | description | Template Description. |
Properties
| Improve this Doc View SourceID
Gets/Sets the Store ID.
Declaration
public string ID { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.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 |
---|---|
System.String |
Methods
| Improve this Doc View SourceToString()
Gets the string representation of the template which is the Template Name.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
Validate()
Validates the template.
Declaration
public virtual IEnumerable<string> Validate()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Remarks
This default implementation does no validation, derived classes must override this to add their required validation.