CSharpSnapshotGenerator.GenerateData Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
GenerateData(String, IEnumerable<IProperty>, IEnumerable<IDictionary<String,Object>>, IndentedStringBuilder) |
Genera código para la propagación de datos. |
GenerateData(String, IEnumerable<IProperty>, IEnumerable<IDictionary<String,Object>>, IndentedStringBuilder) |
Genera código para la propagación de datos. |
GenerateData(String, IEnumerable<IProperty>, IEnumerable<IDictionary<String,Object>>, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Genera código para la propagación de datos.
protected virtual void GenerateData (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,object>> data, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
protected virtual void GenerateData (string entityTypeBuilderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,object?>> data, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GenerateData : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * seq<System.Collections.Generic.IDictionary<string, obj>> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateData : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * seq<System.Collections.Generic.IDictionary<string, obj>> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
abstract member GenerateData : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * seq<System.Collections.Generic.IDictionary<string, obj>> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GenerateData : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * seq<System.Collections.Generic.IDictionary<string, obj>> * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateData (builderName As String, properties As IEnumerable(Of IProperty), data As IEnumerable(Of IDictionary(Of String, Object)), stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateData (entityTypeBuilderName As String, properties As IEnumerable(Of IProperty), data As IEnumerable(Of IDictionary(Of String, Object)), stringBuilder As IndentedStringBuilder)
Parámetros
- builderNameentityTypeBuilderName
- String
Nombre de la variable del generador.
- properties
- IEnumerable<IProperty>
Propiedades que se van a generar.
- data
- IEnumerable<IDictionary<String,Object>>
Datos que se van a inicializar.
- stringBuilder
- IndentedStringBuilder
El código del generador se agrega a .
Se aplica a
GenerateData(String, IEnumerable<IProperty>, IEnumerable<IDictionary<String,Object>>, IndentedStringBuilder)
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
- Source:
- CSharpSnapshotGenerator.cs
Genera código para la propagación de datos.
protected virtual void GenerateData (string builderName, System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IProperty> properties, System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,object>> data, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateData : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * seq<System.Collections.Generic.IDictionary<string, obj>> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateData : string * seq<Microsoft.EntityFrameworkCore.Metadata.IProperty> * seq<System.Collections.Generic.IDictionary<string, obj>> * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateData (builderName As String, properties As IEnumerable(Of IProperty), data As IEnumerable(Of IDictionary(Of String, Object)), stringBuilder As IndentedStringBuilder)
Parámetros
- builderName
- String
Nombre de la variable del generador.
- properties
- IEnumerable<IProperty>
Propiedades que se van a generar.
- data
- IEnumerable<IDictionary<String,Object>>
Datos que se van a inicializar.
- stringBuilder
- Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder
El código del generador se agrega a .