StringBuilderCodeWriter StringBuilderCodeWriter Class

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Syntax

Declaration

public class StringBuilderCodeWriter : CodeWriterPublic Class StringBuilderCodeWriter
    Inherits CodeWriter

Inheritance Hierarchy

Inherited Members

FileService,
FileService,
FileExtension,
FileExtension,
GetExistingFilePaths(String, String, IEnumerable<IEntityType>),
GetExistingFilePaths(String, String, IEnumerable(Of IEntityType)),
GetReadOnlyFilePaths(String, String, IEnumerable<IEntityType>),
GetReadOnlyFilePaths(String, String, IEnumerable(Of IEntityType)),
ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Properties summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Methods summary

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

Constructors

  • StringBuilderCodeWriter(IFileService, DbContextWriter, EntityTypeWriter)
    StringBuilderCodeWriter(IFileService, DbContextWriter, EntityTypeWriter)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public StringBuilderCodeWriter(IFileService fileService, DbContextWriter dbContextWriter, EntityTypeWriter entityTypeWriter)Public Sub New(fileService As IFileService, dbContextWriter As DbContextWriter, entityTypeWriter As EntityTypeWriter)

    Parameters

Properties

  • DbContextWriter
    DbContextWriter

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual DbContextWriter DbContextWriter { get; }Public Overridable ReadOnly Property DbContextWriter As DbContextWriter

    Property Value

  • EntityTypeWriter
    EntityTypeWriter

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public virtual EntityTypeWriter EntityTypeWriter { get; }Public Overridable ReadOnly Property EntityTypeWriter As EntityTypeWriter

    Property Value

Methods

  • WriteCodeAsync(ModelConfiguration, String, String, CancellationToken)
    WriteCodeAsync(ModelConfiguration, String, String, CancellationToken)

    This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

    public override Task<ReverseEngineerFiles> WriteCodeAsync(ModelConfiguration modelConfiguration, string outputPath, string dbContextClassName, CancellationToken cancellationToken = null)Public Overrides Function WriteCodeAsync(modelConfiguration As ModelConfiguration, outputPath As String, dbContextClassName As String, cancellationToken As CancellationToken = Nothing) As Task(Of ReverseEngineerFiles)

    Parameters

    • modelConfiguration
    • outputPath
      System.String
      System.String
    • dbContextClassName
      System.String
      System.String
    • cancellationToken
      System.Threading.CancellationToken
      System.Threading.CancellationToken

    Returns

Details

Assembly

Microsoft.EntityFrameworkCore.Design.dll