Delen via


RelationalAnnotations Class

Definition

Base class for helpers that can handle setting annotations when used with conventions that may or may not be able to override an annotation that has already been set.

public class RelationalAnnotations
type RelationalAnnotations = class
Public Class RelationalAnnotations
Inheritance
RelationalAnnotations

Constructors

RelationalAnnotations(IAnnotatable)

Constructs a new helper for the given IAnnotatable metadata item.

Properties

Metadata

The metadata item that is being annotated.

Methods

CanSetAnnotation(String, Object)

Checks whether or not the annotation with the given name can be set to the given value.

CanSetAnnotation(String, String, Object)
GetAnnotation(String, String)
RemoveAnnotation(String)

Attempts to remove an annotation with the given name and returns whether or not this was successful.

SetAnnotation(String, Object)

Attempts to set an annotation with the given name to the given value and returns whether or not this was successful.

SetAnnotation(String, String, Object)

Applies to