Condividi tramite


ICompiledModelCodeGenerator.GenerateModel Metodo

Definizione

Genera il codice per i metadati del modello compilati.

public System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Scaffolding.ScaffoldedFile> GenerateModel (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelCodeGenerationOptions options);
abstract member GenerateModel : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Scaffolding.CompiledModelCodeGenerationOptions -> System.Collections.Generic.IReadOnlyCollection<Microsoft.EntityFrameworkCore.Scaffolding.ScaffoldedFile>
Public Function GenerateModel (model As IModel, options As CompiledModelCodeGenerationOptions) As IReadOnlyCollection(Of ScaffoldedFile)

Parametri

model
IModel

Modello di origine.

options
CompiledModelCodeGenerationOptions

Opzioni da usare durante la generazione.

Restituisce

File di metadati del modello generati.

Si applica a