IAnnotationCodeGenerator.GenerateFluentApiCalls Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GenerateFluentApiCalls(IModel, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(ITrigger, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(ISkipNavigation, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(ISequence, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IProperty, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IKey, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(INavigation, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IForeignKey, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IIndex, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IEntityType, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IComplexType, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IComplexProperty, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(ICheckConstraint, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IAnnotatable, IDictionary<String,IAnnotation>) |
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations. |
GenerateFluentApiCalls(IModel, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- model
- IModel
The model to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(ITrigger, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- trigger
- ITrigger
The trigger to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(ISkipNavigation, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- navigation
- ISkipNavigation
The skip navigation to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(ISequence, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- sequence
- ISequence
The sequence to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IRelationalPropertyOverrides, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- overrides
- IRelationalPropertyOverrides
The property overrides to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IProperty, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- property
- IProperty
The property to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IKey, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- key
- IKey
The key to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(INavigation, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- navigation
- INavigation
The navigation to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IForeignKey, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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);
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)
Parameters
- foreignKey
- IForeignKey
The foreign key to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IEntityTypeMappingFragment, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- fragment
- IEntityTypeMappingFragment
The entity mapping fragment to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IIndex, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- index
- IIndex
The index to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IEntityType, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- entityType
- IEntityType
The entity type to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IComplexType, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- complexType
- IComplexType
The entity type to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IComplexProperty, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- complexProperty
- IComplexProperty
The complex property to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(ICheckConstraint, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- checkConstraint
- ICheckConstraint
The check constraint to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
GenerateFluentApiCalls(IAnnotatable, IDictionary<String,IAnnotation>)
For the given annotations which have corresponding fluent API calls, returns those fluent API calls and removes the annotations.
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)
Parameters
- annotatable
- IAnnotatable
The annotatable to which the annotations are applied.
- annotations
- IDictionary<String,IAnnotation>
The set of annotations from which to generate fluent API calls.
Returns
Applies to
Entity Framework