AnnotationCodeGenerator.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(ISkipNavigation, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(ITrigger, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IEntityType, IAnnotation, String) |
Kedaluwarsa.
|
GenerateFluentApi(IForeignKey, IAnnotation, String) |
Kedaluwarsa.
|
GenerateFluentApi(IProperty, IAnnotation, String) |
Kedaluwarsa.
|
GenerateFluentApi(IKey, IAnnotation, String) |
Kedaluwarsa.
|
GenerateFluentApi(IModel, IAnnotation, String) |
Kedaluwarsa.
|
GenerateFluentApi(ISequence, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IIndex, IAnnotation, String) |
Kedaluwarsa.
|
GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(INavigation, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IComplexProperty, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IModel, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IKey, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IIndex, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IForeignKey, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IEntityType, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IComplexType, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(IProperty, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(ICheckConstraint, IAnnotation) |
Mengembalikan panggilan API yang lancar untuk |
GenerateFluentApi(ISkipNavigation, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (navigation As ISkipNavigation, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- navigation
- ISkipNavigation
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(ITrigger, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ITrigger * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (trigger As ITrigger, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IEntityType, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IProperty, IAnnotation) instead.
null
Mengembalikan kecuali ditimpa untuk melakukan sebaliknya.
public virtual string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation, language As String) As String
Parameter
- entityType
- IEntityType
- annotation
- IAnnotation
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Null.
Penerapan
- Atribut
Berlaku untuk
GenerateFluentApi(IForeignKey, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IProperty, IAnnotation) instead.
null
Mengembalikan kecuali ditimpa untuk melakukan sebaliknya.
public virtual string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation, language As String) As String
Parameter
- foreignKey
- IForeignKey
- annotation
- IAnnotation
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Null.
Penerapan
- Atribut
Berlaku untuk
GenerateFluentApi(IProperty, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IProperty, IAnnotation) instead.
null
Mengembalikan kecuali ditimpa untuk melakukan sebaliknya.
public virtual string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual 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
override this.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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (property As IProperty, annotation As IAnnotation, language As String) As String
Parameter
- annotation
- IAnnotation
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Null.
Penerapan
- Atribut
Berlaku untuk
GenerateFluentApi(IKey, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IProperty, IAnnotation) instead.
null
Mengembalikan kecuali ditimpa untuk melakukan sebaliknya.
public virtual string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (key As IKey, annotation As IAnnotation, language As String) As String
Parameter
- annotation
- IAnnotation
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Null.
Penerapan
- Atribut
Berlaku untuk
GenerateFluentApi(IModel, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IProperty, IAnnotation) instead.
null
Mengembalikan kecuali ditimpa untuk melakukan sebaliknya.
public virtual string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (model As IModel, annotation As IAnnotation, language As String) As String
Parameter
- annotation
- IAnnotation
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Null.
Penerapan
- Atribut
Berlaku untuk
GenerateFluentApi(ISequence, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ISequence * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (sequence As ISequence, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IIndex, IAnnotation, String)
Perhatian
Use GenerateFluentApi(IProperty, IAnnotation) instead.
null
Mengembalikan kecuali ditimpa untuk melakukan sebaliknya.
public virtual string GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation, string language);
[System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")]
public virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
[<System.Obsolete("Use GenerateFluentApi(IProperty, IAnnotation) instead.")>]
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation * string -> string
Public Overridable Function GenerateFluentApi (index As IIndex, annotation As IAnnotation, language As String) As String
Parameter
- annotation
- IAnnotation
- language
- String
Bahasa pemrograman yang akan digunakan. Misalnya, CSharp.
Mengembalikan
Null.
Penerapan
- Atribut
Berlaku untuk
GenerateFluentApi(IRelationalPropertyOverrides, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (overrides As IRelationalPropertyOverrides, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(INavigation, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.INavigation * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (navigation As INavigation, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- navigation
- INavigation
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IComplexProperty, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (complexProperty As IComplexProperty, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- complexProperty
- IComplexProperty
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IModel, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IModel model, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IModel * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (model As IModel, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (model As IModel, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
Mengembalikan
null
.
Penerapan
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IKey, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (key As IKey, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (key As IKey, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
Mengembalikan
null
.
Penerapan
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IIndex, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (index As IIndex, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (index As IIndex, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
Mengembalikan
null
.
Penerapan
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IForeignKey, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (foreignKey As IForeignKey, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- foreignKey
- IForeignKey
- annotation
- IAnnotation
Mengembalikan
null
.
Penerapan
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IEntityTypeMappingFragment, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment fragment, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (fragment As IEntityTypeMappingFragment, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IEntityType, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IEntityType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (entityType As IEntityType, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- entityType
- IEntityType
- annotation
- IAnnotation
Mengembalikan
null
.
Penerapan
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IComplexType, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IComplexType complexType, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IComplexType * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (complexType As IComplexType, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- complexType
- IComplexType
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(IProperty, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
public virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
protected virtual 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
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Public Overridable Function GenerateFluentApi (property As IProperty, annotation As IAnnotation) As MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (property As IProperty, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- annotation
- IAnnotation
Mengembalikan
null
.
Penerapan
Keterangan
Implementasi default selalu mengembalikan null
.
Berlaku untuk
GenerateFluentApi(ICheckConstraint, IAnnotation)
Mengembalikan panggilan API yang lancar untuk annotation
, atau null
jika tidak ada panggilan API yang fasih untuk itu.
protected virtual Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment? GenerateFluentApi (Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation annotation);
abstract member GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
override this.GenerateFluentApi : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation -> Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment
Protected Overridable Function GenerateFluentApi (checkConstraint As ICheckConstraint, annotation As IAnnotation) As MethodCallCodeFragment
Parameter
- checkConstraint
- ICheckConstraint
- annotation
- IAnnotation
Mengembalikan
null
.
Keterangan
Implementasi default selalu mengembalikan null
.
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