DbContextWriter DbContextWriter 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 DbContextWriter
Public Class DbContextWriter
Inheritance
System.ObjectSystem.Object
DbContextWriterDbContextWriter

Constructors

DbContextWriter(ScaffoldingUtilities, CSharpUtilities) DbContextWriter(ScaffoldingUtilities, CSharpUtilities)

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 DbContextWriter(ScaffoldingUtilities scaffoldingUtilities, CSharpUtilities cSharpUtilities)
Public Sub New(scaffoldingUtilities As ScaffoldingUtilities, cSharpUtilities As CSharpUtilities)
Parameters

Methods

AddClass() AddClass()

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 void AddClass()
Public Overridable Sub AddClass

AddDbSetProperties() AddDbSetProperties()

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 void AddDbSetProperties()
Public Overridable Sub AddDbSetProperties

AddEntityFluentApi(List) AddEntityFluentApi(List(Of IFluentApiConfiguration))

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 void AddEntityFluentApi(List<IFluentApiConfiguration> fluentApiConfigurations)
Public Overridable Sub AddEntityFluentApi(fluentApiConfigurations As List(Of IFluentApiConfiguration))
Parameters
fluentApiConfigurations
System.Collections.Generic.List<IFluentApiConfiguration> System.Collections.Generic.List(Of IFluentApiConfiguration)

AddEntityTypeErrors() AddEntityTypeErrors()

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 void AddEntityTypeErrors()
Public Overridable Sub AddEntityTypeErrors

AddOnConfiguring() AddOnConfiguring()

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 void AddOnConfiguring()
Public Overridable Sub AddOnConfiguring

AddOnModelCreating() AddOnModelCreating()

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 void AddOnModelCreating()
Public Overridable Sub AddOnModelCreating

AddPropertyConfigurations(List) AddPropertyConfigurations(List(Of PropertyConfiguration))

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 void AddPropertyConfigurations(List<PropertyConfiguration> propertyConfigurations)
Public Overridable Sub AddPropertyConfigurations(propertyConfigurations As List(Of PropertyConfiguration))
Parameters
propertyConfigurations
System.Collections.Generic.List<PropertyConfiguration> System.Collections.Generic.List(Of PropertyConfiguration)

AddRelationshipConfigurations(List) AddRelationshipConfigurations(List(Of RelationshipConfiguration))

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 void AddRelationshipConfigurations(List<RelationshipConfiguration> relationshipConfigurations)
Public Overridable Sub AddRelationshipConfigurations(relationshipConfigurations As List(Of RelationshipConfiguration))
Parameters
relationshipConfigurations
System.Collections.Generic.List<RelationshipConfiguration> System.Collections.Generic.List(Of RelationshipConfiguration)

Equals(Object) Equals(Object)

Inherited from System.Object

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

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

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

WriteCode(ModelConfiguration) WriteCode(ModelConfiguration)

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 WriteCode(ModelConfiguration modelConfiguration)
Public Overridable Function WriteCode(modelConfiguration As ModelConfiguration) As String
Parameters
Returns
System.String System.String