CodeWriter CodeWriter 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 abstract class CodeWriterPublic MustInherit Class CodeWriter

Inheritance Hierarchy

  • System.Object
    System.Object
  • CodeWriter
    CodeWriter

Inherited Members

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.

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.

Constructors

  • CodeWriter(IFileService)
    CodeWriter(IFileService)

    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.

    protected CodeWriter(IFileService fileService)Protected Sub New(fileService As IFileService)

    Parameters

Properties

  • FileExtension
    FileExtension

    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 string FileExtension { get; set; }Public Overridable Property FileExtension As String

    Property Value

    • System.String
      System.String
  • FileService
    FileService

    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 IFileService FileService { get; }Public Overridable ReadOnly Property FileService As IFileService

    Property Value

Methods

  • GetExistingFilePaths(String, String, IEnumerable<IEntityType>)
    GetExistingFilePaths(String, String, IEnumerable(Of IEntityType))

    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 IList<string> GetExistingFilePaths(string outputPath, string dbContextClassName, IEnumerable<IEntityType> entityTypes)Public Overridable Function GetExistingFilePaths(outputPath As String, dbContextClassName As String, entityTypes As IEnumerable(Of IEntityType)) As IList(Of String)

    Parameters

    • outputPath
      System.String
      System.String
    • dbContextClassName
      System.String
      System.String
    • entityTypes
      System.Collections.Generic.IEnumerable<T><IEntityType>
      System.Collections.Generic.IEnumerable<T>(Of IEntityType)

    Returns

    • System.Collections.Generic.IList<T><System.String>
      System.Collections.Generic.IList<T>(Of System.String)
  • GetReadOnlyFilePaths(String, String, IEnumerable<IEntityType>)
    GetReadOnlyFilePaths(String, String, IEnumerable(Of IEntityType))

    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 IList<string> GetReadOnlyFilePaths(string outputPath, string dbContextClassName, IEnumerable<IEntityType> entityTypes)Public Overridable Function GetReadOnlyFilePaths(outputPath As String, dbContextClassName As String, entityTypes As IEnumerable(Of IEntityType)) As IList(Of String)

    Parameters

    • outputPath
      System.String
      System.String
    • dbContextClassName
      System.String
      System.String
    • entityTypes
      System.Collections.Generic.IEnumerable<T><IEntityType>
      System.Collections.Generic.IEnumerable<T>(Of IEntityType)

    Returns

    • System.Collections.Generic.IList<T><System.String>
      System.Collections.Generic.IList<T>(Of System.String)
  • 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 abstract Task<ReverseEngineerFiles> WriteCodeAsync(ModelConfiguration modelConfiguration, string outputPath, string dbContextClassName, CancellationToken cancellationToken = null)Public MustOverride 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