다음을 통해 공유


CSharpSnapshotGenerator.GenerateFluentApiForAnnotation 메서드

정의

오버로드

GenerateFluentApiForAnnotation(List<IAnnotation>, String, String, IndentedStringBuilder)

주석에 대한 Fluent API 호출을 생성합니다.

GenerateFluentApiForAnnotation(List<IAnnotation>, String, Func<IAnnotation,Object>, String, IndentedStringBuilder)

주석에 대한 Fluent API 호출을 생성합니다.

GenerateFluentApiForAnnotation(List<IAnnotation>, String, String, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

주석에 대한 Fluent API 호출을 생성합니다.

protected virtual void GenerateFluentApiForAnnotation (ref System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations, string annotationName, string fluentApiMethodName, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateFluentApiForAnnotation : List * string * string * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateFluentApiForAnnotation : List * string * string * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateFluentApiForAnnotation (ByRef annotations As List(Of IAnnotation), annotationName As String, fluentApiMethodName As String, stringBuilder As IndentedStringBuilder)

매개 변수

annotations
List<IAnnotation>

주석 목록입니다.

annotationName
String

코드를 생성할 주석의 이름입니다.

fluentApiMethodName
String

Fluent API 메서드 이름입니다.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

작성기 코드가 에 추가됩니다.

적용 대상

GenerateFluentApiForAnnotation(List<IAnnotation>, String, Func<IAnnotation,Object>, String, IndentedStringBuilder)

Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs
Source:
CSharpSnapshotGenerator.cs

주석에 대한 Fluent API 호출을 생성합니다.

protected virtual void GenerateFluentApiForAnnotation (ref System.Collections.Generic.List<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations, string annotationName, Func<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation,object> annotationValueFunc, string fluentApiMethodName, Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder stringBuilder);
abstract member GenerateFluentApiForAnnotation : List * string * Func<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation, obj> * string * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
override this.GenerateFluentApiForAnnotation : List * string * Func<Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation, obj> * string * Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder -> unit
Protected Overridable Sub GenerateFluentApiForAnnotation (ByRef annotations As List(Of IAnnotation), annotationName As String, annotationValueFunc As Func(Of IAnnotation, Object), fluentApiMethodName As String, stringBuilder As IndentedStringBuilder)

매개 변수

annotations
List<IAnnotation>

주석 목록입니다.

annotationName
String

코드를 생성할 주석의 이름입니다.

annotationValueFunc
Func<IAnnotation,Object>

주석에서 값을 생성하는 대리자입니다.

fluentApiMethodName
String

Fluent API 메서드 이름입니다.

stringBuilder
Microsoft.EntityFrameworkCore.Internal.IndentedStringBuilder

작성기 코드가 에 추가됩니다.

적용 대상