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