Share via


TmdlSerializer Class

Definition

Two-way conversion of an in-memory object tree to TMDL. TMDL is used for object definitions in a Tabular model or Tabular database at compatibility level 1200 and greater.

public static class TmdlSerializer
type TmdlSerializer = class
Public Class TmdlSerializer
Inheritance
TmdlSerializer

Methods

DeserializeDatabaseFromCompressedFile(String, MetadataDeserializationOptions)

Deserializes the set of TMDL documents in the specified compressed archive-file to its database object equivalent.

DeserializeDatabaseFromCompressedFile(String)

Deserializes the set of TMDL documents in the specified compressed archive-file to its database object equivalent.

DeserializeDatabaseFromFolder(String, MetadataDeserializationOptions)

Deserializes the set of TMDL documents in the specified folder to its database object equivalent.

DeserializeDatabaseFromFolder(String)

Deserializes the set of TMDL documents in the specified folder to its database object equivalent.

DeserializeModelFromCompressedFile(String, MetadataDeserializationOptions)

Deserializes the set of TMDL documents in the specified compressed archive-file to its model object equivalent.

DeserializeModelFromCompressedFile(String)

Deserializes the set of TMDL documents in the specified compressed archive-file to its model object equivalent.

DeserializeModelFromFolder(String, MetadataDeserializationOptions)

Deserializes the set of TMDL documents in the specified folder to its model object equivalent.

DeserializeModelFromFolder(String)

Deserializes the set of TMDL documents in the specified folder to its model object equivalent.

GenerateSchema()

Generates the JSON schema of the TMDL info-set with default options.

GenerateSchema(MetadataSchemaSerializationOptions)

Generates the JSON schema of the TMDL info-set based on the provided options.

GenerateSchema(Stream, MetadataSchemaSerializationOptions)

Generates the JSON schema of the TMDL info-set based on the provided options, and writes them into the provided stream.

GenerateSchema(Stream)

Generates the JSON schema of the TMDL info-set with default options, and writes them into the provided stream.

SerializeDatabase(Database, MetadataSerializationOptions)

Serializes an in-memory Database to TMDL text content using the specified options.

SerializeDatabase(Database)

Serializes an in-memory Database to TMDL text content.

SerializeDatabaseToCompressedFile(Database, String, MetadataSerializationOptions)

Serializes a full in-memory Database to a set of TMDL documents in a comressed archive file, using the specified options and the default serialization strategy.

SerializeDatabaseToCompressedFile(Database, String)

Serializes a full in-memory Database to a set of TMDL documents in a comressed archive file, using the default serialization strategy.

SerializeDatabaseToFolder(Database, String, MetadataSerializationOptions)

Serializes a full in-memory Database to a set of TMDL documents in the specified folder, using the specified options and the default serialization strategy.

SerializeDatabaseToFolder(Database, String)

Serializes a full in-memory Database to a set of TMDL documents in the specified folder, using the default serialization strategy.

SerializeModelToCompressedFile(Model, String, MetadataSerializationOptions)

Serializes a full in-memory Model to a set of TMDL documents in a comressed archive file, using the specified options and the default serialization strategy.

SerializeModelToCompressedFile(Model, String)

Serializes a full in-memory Model to a set of TMDL documents in a comressed archive file, using the default serialization strategy.

SerializeModelToFolder(Model, String, MetadataSerializationOptions)

Serializes a full in-memory Model to a set of TMDL documents in the specified folder, using the specified options and the default serialization strategy.

SerializeModelToFolder(Model, String)

Serializes a full in-memory Model to a set of TMDL documents in the specified folder, using the default serialization strategy.

SerializeObject(MetadataObject, Boolean)

Serializes an in-memory Tabular metdata object to TMDL text content.

SerializeObject(MetadataObject, MetadataSerializationOptions, Boolean)

Serializes an in-memory Tabular metdata object to TMDL text content using the specified options.

Applies to