語言

CSharpMigrationCodeGenerator.GenerateAnnotations 方法

定義

多載

名稱 Description
GenerateAnnotations(IDictionary<String,Object>, IndentedTextWriter)

產生程式碼以重建給定的註解字典,以便在傳遞這些註解作為參數 DbMigration時使用。 打電話。

GenerateAnnotations(IDictionary<String,AnnotationValues>, IndentedTextWriter)

產生程式碼以重建給定的註解字典,以便在傳遞這些註解作為參數 DbMigration時使用。 打電話。

GenerateAnnotations(IDictionary<String,Object>, IndentedTextWriter)

產生程式碼以重建給定的註解字典,以便在傳遞這些註解作為參數 DbMigration時使用。 打電話。

protected internal virtual void GenerateAnnotations(System.Collections.Generic.IDictionary<string,object> annotations, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateAnnotations : System.Collections.Generic.IDictionary<string, obj> * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateAnnotations : System.Collections.Generic.IDictionary<string, obj> * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Protected Friend Overridable Sub GenerateAnnotations (annotations As IDictionary(Of String, Object), writer As IndentedTextWriter)

參數

annotations
IDictionary<String,Object>

要產生的註解。

writer
IndentedTextWriter

應該寫給該程式碼的作者。

適用於

GenerateAnnotations(IDictionary<String,AnnotationValues>, IndentedTextWriter)

產生程式碼以重建給定的註解字典,以便在傳遞這些註解作為參數 DbMigration時使用。 打電話。

protected internal virtual void GenerateAnnotations(System.Collections.Generic.IDictionary<string,System.Data.Entity.Infrastructure.Annotations.AnnotationValues> annotations, System.Data.Entity.Migrations.Utilities.IndentedTextWriter writer);
abstract member GenerateAnnotations : System.Collections.Generic.IDictionary<string, System.Data.Entity.Infrastructure.Annotations.AnnotationValues> * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
override this.GenerateAnnotations : System.Collections.Generic.IDictionary<string, System.Data.Entity.Infrastructure.Annotations.AnnotationValues> * System.Data.Entity.Migrations.Utilities.IndentedTextWriter -> unit
Protected Friend Overridable Sub GenerateAnnotations (annotations As IDictionary(Of String, AnnotationValues), writer As IndentedTextWriter)

參數

annotations
IDictionary<String,AnnotationValues>

要產生的註解。

writer
IndentedTextWriter

應該寫給該程式碼的作者。

適用於