ScaffoldingModelExtensions.GetFluentApiCalls 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
GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator) |
Mendapatkan panggilan API yang lancar untuk mengonfigurasi jenis entitas. |
GetFluentApiCalls(IIndex, IAnnotationCodeGenerator) |
Mendapatkan panggilan API yang lancar untuk mengonfigurasi indeks. |
GetFluentApiCalls(IKey, IAnnotationCodeGenerator) |
Mendapatkan panggilan API yang lancar untuk mengonfigurasi kunci. |
GetFluentApiCalls(IModel, IAnnotationCodeGenerator) |
Mendapatkan panggilan API yang lancar untuk mengonfigurasi model. |
GetFluentApiCalls(IProperty, IAnnotationCodeGenerator) |
Mendapatkan panggilan API yang lancar untuk mengonfigurasi properti. |
GetFluentApiCalls(ISequence, IAnnotationCodeGenerator) |
Mendapatkan panggilan API yang lancar untuk mengonfigurasi urutan. |
GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean) |
Mendapatkan panggilan API yang lancar untuk mengonfigurasi kunci asing. |
GetFluentApiCalls(IEntityType, IAnnotationCodeGenerator)
Mendapatkan panggilan API yang lancar untuk mengonfigurasi jenis entitas.
public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (entityType As IEntityType, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment
Parameter
- entityType
- IEntityType
Jenis entitas.
- annotationCodeGenerator
- IAnnotationCodeGenerator
Generator kode anotasi penyedia.
Mengembalikan
Panggilan API yang lancar.
Berlaku untuk
GetFluentApiCalls(IIndex, IAnnotationCodeGenerator)
Mendapatkan panggilan API yang lancar untuk mengonfigurasi indeks.
public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (index As IIndex, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment
Parameter
- index
- IIndex
Indeks.
- annotationCodeGenerator
- IAnnotationCodeGenerator
Generator kode anotasi penyedia.
Mengembalikan
Panggilan API yang lancar.
Berlaku untuk
GetFluentApiCalls(IKey, IAnnotationCodeGenerator)
Mendapatkan panggilan API yang lancar untuk mengonfigurasi kunci.
public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (key As IKey, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment
Parameter
- key
- IKey
Kuncinya.
- annotationCodeGenerator
- IAnnotationCodeGenerator
Generator kode anotasi penyedia.
Mengembalikan
Panggilan API yang lancar.
Berlaku untuk
GetFluentApiCalls(IModel, IAnnotationCodeGenerator)
Mendapatkan panggilan API yang lancar untuk mengonfigurasi model.
public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (model As IModel, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment
Parameter
- model
- IModel
Model.
- annotationCodeGenerator
- IAnnotationCodeGenerator
Generator kode anotasi penyedia.
Mengembalikan
Panggilan API yang lancar.
Berlaku untuk
GetFluentApiCalls(IProperty, IAnnotationCodeGenerator)
Mendapatkan panggilan API yang lancar untuk mengonfigurasi properti.
public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (property As IProperty, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment
Parameter
- property
- IProperty
Properti .
- annotationCodeGenerator
- IAnnotationCodeGenerator
Generator kode anotasi penyedia.
Mengembalikan
Panggilan API yang lancar.
Berlaku untuk
GetFluentApiCalls(ISequence, IAnnotationCodeGenerator)
Mendapatkan panggilan API yang lancar untuk mengonfigurasi urutan.
public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (sequence As ISequence, annotationCodeGenerator As IAnnotationCodeGenerator) As FluentApiCodeFragment
Parameter
- sequence
- ISequence
Urutannya.
- annotationCodeGenerator
- IAnnotationCodeGenerator
Generator kode anotasi penyedia.
Mengembalikan
Panggilan API yang lancar.
Berlaku untuk
GetFluentApiCalls(IForeignKey, IAnnotationCodeGenerator, Boolean)
Mendapatkan panggilan API yang lancar untuk mengonfigurasi kunci asing.
public static Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment? GetFluentApiCalls (this Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator annotationCodeGenerator, bool useStrings = false);
static member GetFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Design.IAnnotationCodeGenerator * bool -> Microsoft.EntityFrameworkCore.Design.FluentApiCodeFragment
<Extension()>
Public Function GetFluentApiCalls (foreignKey As IForeignKey, annotationCodeGenerator As IAnnotationCodeGenerator, Optional useStrings As Boolean = false) As FluentApiCodeFragment
Parameter
- foreignKey
- IForeignKey
Kunci asing.
- annotationCodeGenerator
- IAnnotationCodeGenerator
Generator kode anotasi penyedia.
- useStrings
- Boolean
Nilai yang menunjukkan wheter untuk menggunakan string fluent API kelebihan beban alih-alih yang mengambil aksesor properti lambda.
Mengembalikan
Panggilan API yang lancar.
Berlaku untuk
Entity Framework