EntityViewGenerator Classe

Definição

Gera as exibições para as extensões no StorageMappingItemCollection e cria um arquivo do código-fonte para um tipo que armazenará essas exibições em cache.Generates views for the extents in the StorageMappingItemCollection, and creates a source code file for a type that will cache these views.

public ref class EntityViewGenerator
public class EntityViewGenerator
type EntityViewGenerator = class
Public Class EntityViewGenerator
Herança
EntityViewGenerator

Construtores

EntityViewGenerator()

Inicializa uma nova instância da classe EntityViewGenerator com uma opção de idioma GenerateCSharpCode.Initializes a new instance of the EntityViewGenerator class with a GenerateCSharpCode language option.

EntityViewGenerator(LanguageOption)

Inicializa uma nova instância da classe EntityViewGenerator com o LanguageOption especificado.Initializes a new instance of the EntityViewGenerator class with the specified LanguageOption.

Propriedades

LanguageOption

Obtém ou define um valor LanguageOption que indica a linguagem do código gerado.Gets or sets a LanguageOption value that indicates the language of the generated code.

Métodos

Equals(Object)

Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object.

(Herdado de Object)
GenerateViews(StorageMappingItemCollection, String)

Gera as exibições no tempo de compilação para as extensões em um StorageMappingItemCollection.Generates views at compile time for the extents in a StorageMappingItemCollection. Grava um arquivo de código-fonte em um local especificado que disponibiliza as exibição no tempo de execução.Writes a source code file to a specified location that makes the views available at run time.

GenerateViews(StorageMappingItemCollection, TextWriter)

Gera as exibições no tempo de compilação para as extensões em um StorageMappingItemCollection.Generates views at compile time for the extents in a StorageMappingItemCollection. Envia um arquivo de código-fonte para um TextWriter para disponibilizar essas exibições no tempo de execução.Sends a source code file to a TextWriter to make these views available at run time.

GenerateViews(StorageMappingItemCollection, TextWriter, Version)

Gera as exibições no tempo de compilação para as extensões em um StorageMappingItemCollection.Generates views at compile time for the extents in a StorageMappingItemCollection. Envia um arquivo de código-fonte para um TextWriter para disponibilizar essas exibições no tempo de execução.Sends a source code file to a TextWriter to make these views available at run time.

GetHashCode()

Serve como a função de hash padrão.Serves as the default hash function.

(Herdado de Object)
GetType()

Obtém o Type da instância atual.Gets the Type of the current instance.

(Herdado de Object)
MemberwiseClone()

Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object.

(Herdado de Object)
ToString()

Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object.

(Herdado de Object)
Validate(StorageMappingItemCollection)

Valida um StorageMappingItemCollection.Validates a StorageMappingItemCollection.

Validate(StorageMappingItemCollection, Version)

Valida um StorageMappingItemCollection.Validates a StorageMappingItemCollection.

Aplica-se a