C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Schema ( ) : System

Create a new Schema

Schema ( string name ) : System

Create a new Schema with the given Name and Fields

Приватные методы

Метод Описание
Schema ( System.Guid id, string name ) : System

Create a new Schema with the given Name and Fields

Описание методов

Schema() публичный Метод

Create a new Schema
public Schema ( ) : System
Результат System

Schema() публичный Метод

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
Результат System