Share via


CSharpSnapshotGenerator.GeneratePropertyOverride Method

Definition

Generates code for an IRelationalPropertyOverrides.

protected virtual void GeneratePropertyOverride (string tableBuilderName, Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder stringBuilder);
abstract member GeneratePropertyOverride : string * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
override this.GeneratePropertyOverride : string * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IndentedStringBuilder -> unit
Protected Overridable Sub GeneratePropertyOverride (tableBuilderName As String, overrides As IRelationalPropertyOverrides, stringBuilder As IndentedStringBuilder)

Parameters

tableBuilderName
String

The name of the table builder variable.

overrides
IRelationalPropertyOverrides

The overrides.

stringBuilder
IndentedStringBuilder

The builder code is added to.

Applies to