ConventionAnnotatableExtensions Class
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.
Caution
Use IConventionAnnotatable
Extension methods for IConventionAnnotatable.
public static class ConventionAnnotatableExtensions
[System.Obsolete("Use IConventionAnnotatable")]
public static class ConventionAnnotatableExtensions
type ConventionAnnotatableExtensions = class
[<System.Obsolete("Use IConventionAnnotatable")>]
type ConventionAnnotatableExtensions = class
Public Module ConventionAnnotatableExtensions
Public Class ConventionAnnotatableExtensions
- Inheritance
-
ConventionAnnotatableExtensions
- Attributes
Methods
AddAnnotations(IConventionAnnotatable, IEnumerable<IConventionAnnotation>, Boolean) |
Adds annotations to an object. |
GetAnnotation(IConventionAnnotatable, String) |
Gets the annotation with the given name, throwing if it does not exist. |
SetOrRemoveAnnotation(IConventionAnnotatable, String, Object, Boolean) |
Sets the annotation stored under the given name. Overwrites the existing annotation if an
annotation with the specified name already exists. Removes the existing annotation if |
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for