语言

AnnotationCodeGenerator.GenerateFluentApiCalls 方法

定义

重载

名称 说明
GenerateFluentApiCalls(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(ISequence, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IProperty, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(ITrigger, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IForeignKey, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(ISkipNavigation, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(INavigation, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IModel, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IIndex, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IEntityType, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IComplexType, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IComplexProperty, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(ICheckConstraint, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IAnnotatable, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IKey, IDictionary<String,IAnnotation>)

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

GenerateFluentApiCalls(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides overrides, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (overrides As IRelationalPropertyOverrides, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

overrides
IRelationalPropertyOverrides

属性将重写向其应用批注。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(ISequence, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.ISequence sequence, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ISequence * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ISequence * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (sequence As ISequence, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

sequence
ISequence

将批注应用到的序列。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IProperty, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IProperty property, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (property As IProperty, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

property
IProperty

向其应用批注的属性。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(ITrigger, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.ITrigger trigger, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ITrigger * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ITrigger * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (trigger As ITrigger, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

trigger
ITrigger

将批注应用到的触发器。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IForeignKey, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IForeignKey navigation, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IForeignKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (foreignKey As IForeignKey, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)
Public Overridable Function GenerateFluentApiCalls (navigation As IForeignKey, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

foreignKeynavigation
IForeignKey

向其应用批注的外键。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(ISkipNavigation, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation navigation, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ISkipNavigation * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (navigation As ISkipNavigation, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

navigation
ISkipNavigation

将批注应用到的跳过导航。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(INavigation, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.INavigation navigation, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.INavigation * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.INavigation * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (navigation As INavigation, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

navigation
INavigation

将批注应用到的导航。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IModel, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IModel model, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IModel * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IModel * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (model As IModel, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

model
IModel

将批注应用到的模型。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IIndex, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IIndex index, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IIndex * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IIndex * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (index As IIndex, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

index
IIndex

将批注应用到的索引。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment fragment, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IEntityTypeMappingFragment * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (fragment As IEntityTypeMappingFragment, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

fragment
IEntityTypeMappingFragment

将批注应用到的实体映射片段。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IEntityType, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IEntityType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (entityType As IEntityType, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

entityType
IEntityType

向其应用批注的实体类型。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IComplexType, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IComplexType complexType, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IComplexType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IComplexType * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (complexType As IComplexType, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

complexType
IComplexType

向其应用批注的实体类型。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IComplexProperty, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IComplexProperty complexProperty, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (complexProperty As IComplexProperty, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

complexProperty
IComplexProperty

向其应用批注的复杂属性。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(ICheckConstraint, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint checkConstraint, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.ICheckConstraint * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (checkConstraint As ICheckConstraint, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

checkConstraint
ICheckConstraint

将批注应用到的 check 约束。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IAnnotatable, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable annotatable, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Infrastructure.IAnnotatable * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (annotatable As IAnnotatable, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

annotatable
IAnnotatable

对其应用批注的可批注。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于

GenerateFluentApiCalls(IKey, IDictionary<String,IAnnotation>)

Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs
Source:
AnnotationCodeGenerator.cs

对于具有相应 fluent API 调用的给定批注,返回这些 fluent API 调用并删除批注。

public virtual System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment> GenerateFluentApiCalls(Microsoft.EntityFrameworkCore.Metadata.IKey key, System.Collections.Generic.IDictionary<string,Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> annotations);
abstract member GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
override this.GenerateFluentApiCalls : Microsoft.EntityFrameworkCore.Metadata.IKey * System.Collections.Generic.IDictionary<string, Microsoft.EntityFrameworkCore.Infrastructure.IAnnotation> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment>
Public Overridable Function GenerateFluentApiCalls (key As IKey, annotations As IDictionary(Of String, IAnnotation)) As IReadOnlyList(Of MethodCallCodeFragment)

参数

key
IKey

将批注应用到的键。

annotations
IDictionary<String,IAnnotation>

从中生成 Fluent API 调用的批注集。

返回

实现

适用于