Class CollectionSchema

CollectionSchema class

Represents a class that describes the “Schema” of a document collection.

public class CollectionSchema

Properties

NameDescription
AllFields { get; }Gets all schema’s fields.
AllNames { get; }Gets all schema’s fields names.

Methods

NameDescription
GetCollectionField(string)Gets a collection field by name.
HasName(string)Determines whether the specified name exists in the schema.

See Also