IAnnotationCodeGenerator.GenerateFluentApi Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
GenerateFluentApi(IProperty, IAnnotation, String) |
Kedaluwarsa.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan. |
GenerateFluentApi(IModel, IAnnotation, String) |
Kedaluwarsa.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan. |
GenerateFluentApi(IKey, IAnnotation, String) |
Kedaluwarsa.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan. |
GenerateFluentApi(IIndex, IAnnotation, String) |
Kedaluwarsa.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan. |
GenerateFluentApi(IEntityType, IAnnotation, String) |
Kedaluwarsa.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan. |
GenerateFluentApi(IForeignKey, IAnnotation, String) |
Kedaluwarsa.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan. |
GenerateFluentApi(IModel, IAnnotation) |
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation. |
GenerateFluentApi(IKey, IAnnotation) |
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation. |
GenerateFluentApi(IIndex, IAnnotation) |
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation. |
GenerateFluentApi(IForeignKey, IAnnotation) |
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation. |
GenerateFluentApi(IEntityType, IAnnotation) |
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation. |
GenerateFluentApi(IProperty, IAnnotation) |
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation. |
GenerateFluentApi(IProperty, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IProperty, IAnnotation) instead.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan.
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (property As IProperty, annotation As IAnnotation, language As String) As String
Parameter
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Kode yang dihasilkan.
- Atribut
Berlaku untuk
GenerateFluentApi(IModel, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IModel, IAnnotation) instead.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan.
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IModel, IAnnotation) instead.")]
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IModel, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (model As IModel, annotation As IAnnotation, language As String) As String
Parameter
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Kode yang dihasilkan.
- Atribut
Berlaku untuk
GenerateFluentApi(IKey, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IKey, IAnnotation) instead.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan.
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IKey, IAnnotation) instead.")]
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IKey, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (key As IKey, annotation As IAnnotation, language As String) As String
Parameter
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Kode yang dihasilkan.
- Atribut
Berlaku untuk
GenerateFluentApi(IIndex, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IIndex, IAnnotation) instead.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan.
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IIndex, IAnnotation) instead.")]
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IIndex, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (index As IIndex, annotation As IAnnotation, language As String) As String
Parameter
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Kode yang dihasilkan.
- Atribut
Berlaku untuk
GenerateFluentApi(IEntityType, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IEntityType, IAnnotation) instead.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan.
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IEntityType, IAnnotation) instead.")]
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IEntityType, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation, language As String) As String
Parameter
- entityType
- IEntityType
kode IEntityType mana yang harus dihasilkan.
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Kode yang dihasilkan.
- Atribut
Berlaku untuk
GenerateFluentApi(IForeignKey, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IForeignKey, IAnnotation) instead.
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation dalam bahasa pemrograman yang diberikan.
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IForeignKey, IAnnotation) instead.")]
public string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IForeignKey, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation, language As String) As String
Parameter
- foreignKey
- IForeignKey
kode IForeignKey mana yang harus dihasilkan.
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Kode yang dihasilkan.
- Atribut
Berlaku untuk
GenerateFluentApi(IModel, IAnnotation)
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation.
public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (model As IModel, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
Mengembalikan
Kode yang dihasilkan.
Berlaku untuk
GenerateFluentApi(IKey, IAnnotation)
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation.
public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (key As IKey, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
Mengembalikan
Kode yang dihasilkan.
Berlaku untuk
GenerateFluentApi(IIndex, IAnnotation)
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation.
public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (index As IIndex, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
Mengembalikan
Kode yang dihasilkan.
Berlaku untuk
GenerateFluentApi(IForeignKey, IAnnotation)
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation.
public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- foreignKey
- IForeignKey
kode IForeignKey mana yang harus dihasilkan.
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
Mengembalikan
Kode yang dihasilkan.
Berlaku untuk
GenerateFluentApi(IEntityType, IAnnotation)
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation.
public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- entityType
- IEntityType
kode IEntityType mana yang harus dihasilkan.
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
Mengembalikan
Kode yang dihasilkan.
Berlaku untuk
GenerateFluentApi(IProperty, IAnnotation)
Menghasilkan panggilan API yang fasih untuk yang diberikan IAnnotation.
public Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Function GenerateFluentApi (property As IProperty, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
kode IAnnotation mana yang harus dihasilkan.
Mengembalikan
Kode yang dihasilkan.
Berlaku untuk
Entity Framework
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk