Sprache

CSharpSnapshotGenerator.GenerateData Methode

Definition

Überlädt

GenerateData(String, IEnumerable<IProperty>, IEnumerable<IDictionary<String,Object>>, IndentedStringBuilder)

Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs

Generiert Code für das Datensaming.

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)

Parameter

builderName
String

Der Name der Generatorvariable.

properties
IEnumerable<IProperty>

Die zu generierenden Eigenschaften.

data
IEnumerable<IDictionary<String,Object>>

Die Zusamendaten.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für:

GenerateData(String, IEnumerable<IProperty>, IEnumerable<IDictionary<String,Object>>, IndentedStringBuilder)

Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs
Quelle:
CSharpSnapshotGenerator.cs

Generiert Code für das Datensaming.

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);
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);
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 (entityTypeBuilderName As String, properties As IEnumerable(Of IProperty), data As IEnumerable(Of IDictionary(Of String, Object)), stringBuilder As IndentedStringBuilder)
Protected Overridable Sub GenerateData (builderName As String, properties As IEnumerable(Of IProperty), data As IEnumerable(Of IDictionary(Of String, Object)), stringBuilder As IndentedStringBuilder)

Parameter

builderNameentityTypeBuilderName
String

Der Name der Generatorvariable.

properties
IEnumerable<IProperty>

Die zu generierenden Eigenschaften.

data
IEnumerable<IDictionary<String,Object>>

Die Zusamendaten.

stringBuilder
IndentedStringBuilder

Der Generatorcode wird hinzugefügt.

Gilt für: