StringBuilderCodeWriter StringBuilderCodeWriter Class

Definition

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 class StringBuilderCodeWriter : CodeWriter
Public Class StringBuilderCodeWriter
    Inherits CodeWriter
Inheritance
System.ObjectSystem.Object
StringBuilderCodeWriterStringBuilderCodeWriter

Inherited Members

Microsoft.EntityFrameworkCore.Scaffolding.Internal.CodeWriter

GetExistingFilePaths(System.String, System.String, System.Collections.Generic.IEnumerable<IEntityType>)GetExistingFilePaths(System.String, System.String, System.Collections.Generic.IEnumerable(Of IEntityType))
GetReadOnlyFilePaths(System.String, System.String, System.Collections.Generic.IEnumerable<IEntityType>)GetReadOnlyFilePaths(System.String, System.String, System.Collections.Generic.IEnumerable(Of IEntityType))

System.Object

System.Object.ToString()System.Object.ToString()
System.Object.Equals(System.Object)System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()System.Object.GetHashCode()
System.Object.GetType()System.Object.GetType()
System.Object.MemberwiseClone()System.Object.MemberwiseClone()

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

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

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
outputPath
System.String System.String
dbContextClassName
System.String System.String
cancellationToken
System.Threading.CancellationToken System.Threading.CancellationToken
Returns
System.Threading.Tasks.Task<ReverseEngineerFiles> System.Threading.Tasks.Task(Of ReverseEngineerFiles)
Overrides