Поделиться через


CSharpSnapshotGenerator.GenerateData Метод

Определение

Перегрузки

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

Создает код для заполнения данных.

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

Создает код для заполнения данных.

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

Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs

Создает код для заполнения данных.

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)

Параметры

builderNameentityTypeBuilderName
String

Имя переменной построителя.

properties
IEnumerable<IProperty>

Свойства для создания.

data
IEnumerable<IDictionary<String,Object>>

Данные для заполнения.

stringBuilder
IndentedStringBuilder

Код построителя добавляется в .

Применяется к

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

Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs
Исходный код:
CSharpSnapshotGenerator.cs

Создает код для заполнения данных.

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)

Параметры

builderName
String

Имя переменной построителя.

properties
IEnumerable<IProperty>

Свойства для создания.

data
IEnumerable<IDictionary<String,Object>>

Данные для заполнения.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

Код построителя добавляется в .

Применяется к