CodeWriter CodeWriter 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 abstract class CodeWriter
Public MustInherit Class CodeWriter
Inheritance
System.ObjectSystem.Object
CodeWriterCodeWriter

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
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

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetExistingFilePaths(String, String, IEnumerable) 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<IEntityType> System.Collections.Generic.IEnumerable(Of IEntityType)
Returns
System.Collections.Generic.IList<System.String> System.Collections.Generic.IList(Of System.String)

GetHashCode() GetHashCode()

Inherited from System.Object

GetReadOnlyFilePaths(String, String, IEnumerable) 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<IEntityType> System.Collections.Generic.IEnumerable(Of IEntityType)
Returns
System.Collections.Generic.IList<System.String> System.Collections.Generic.IList(Of System.String)

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

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
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)