C# Class TrueVault.Net.Models.Schema.Schema

A Schema specifies the fields in a Document to index by the search engine. Schemas are specific to a Vault so you may update schemas in one Vault without affecting the schemas in another Vault.

When a Schema is updated, all Documents associated with the updated Schema will be automatically re-indexed by our search engine.

A Schema with Documents associated with it can not be deleted. You must delete all documents first.
Show file Open project: hsrob/TrueVault.Net Class Usage Examples

Public Methods

Method Description
Schema ( ) : System

Create a new Schema

Schema ( string name ) : System

Create a new Schema with the given Name and Fields

Private Methods

Method Description
Schema ( System.Guid id, string name ) : System

Create a new Schema with the given Name and Fields

Method Details

Schema() public method

Create a new Schema
public Schema ( ) : System
return System

Schema() public method

Create a new Schema with the given Name and Fields
A schema must have a valid, non-empty name A Schema must include one or more fields
public Schema ( string name ) : System
name string Required, the name of this Schema
return System