Show / Hide Table of Contents

Class StoreTemplate

A basic store template where the only parameter is the Store ID.
Inheritance
System.Object
StoreTemplate
BaseSesameTemplate
BaseStardogTemplate
Implements
IStoreTemplate
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 Source

StoreTemplate(String)

Creates a new template.
Declaration
public StoreTemplate(string id)
Parameters
Type Name Description
System.String id Store ID.
| Improve this Doc View Source

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 Source

ID

Gets/Sets the Store ID.
Declaration
public string ID { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

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
| Improve this Doc View Source

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 Source

ToString()

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.

Implements

IStoreTemplate

Extension Methods

Extensions.AsEnumerable<T>(T)
  • Improve this Doc
  • View Source
In This Article
  • Constructors
    • StoreTemplate(String)
    • StoreTemplate(String, String, String)
  • Properties
    • ID
    • TemplateDescription
    • TemplateName
  • Methods
    • ToString()
    • Validate()
  • Implements
  • Extension Methods
Back to top Generated by DocFX