ForeignKeyModel 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.
public class ForeignKeyModel : Microsoft.EntityFrameworkCore.Infrastructure.Annotatable
	type ForeignKeyModel = class
    inherit Annotatable
	Public Class ForeignKeyModel
Inherits Annotatable
		- Inheritance
 
Constructors
| ForeignKeyModel() | 
Properties
| Columns | |
| DisplayName | |
| Item[String] | 
		 Gets the value annotation with the given name, returning   | 
        	
| Name | |
| OnDelete | |
| PrincipalTable | |
| Table | |
Methods
| AddAnnotation(String, Annotation) | 
		 Adds an annotation to this object. Throws if an annotation with the specified name already exists. (Inherited from Annotatable) | 
        	
| AddAnnotation(String, Object) | 
		 Adds an annotation to this object. Throws if an annotation with the specified name already exists. (Inherited from Annotatable) | 
        	
| CreateAnnotation(String, Object) | 
		 Creates a new annotation. (Inherited from Annotatable) | 
        	
| FindAnnotation(String) | 
		 Gets the annotation with the given name, returning   | 
        	
| GetAnnotations() | 
		 Gets all annotations on the current object. (Inherited from Annotatable) | 
        	
| GetOrAddAnnotation(String, Object) | 
		 Adds an annotation to this object or returns the existing annotation if one with the specified name already exists. (Inherited from Annotatable) | 
        	
| OnAnnotationSet(String, Annotation, Annotation) | 
		 Called when an annotation was set or removed. (Inherited from Annotatable) | 
        	
| RemoveAnnotation(String) | 
		 Removes the given annotation from this object. (Inherited from Annotatable) | 
        	
| SetAnnotation(String, Annotation) | 
		 Sets the annotation stored under the given key. Overwrites the existing annotation if an annotation with the specified name already exists. (Inherited from Annotatable) | 
        	
Explicit Interface Implementations
| IAnnotatable.FindAnnotation(String) | 
		 Gets the annotation with the given name, returning null if it does not exist. (Inherited from Annotatable) | 
        	
| IAnnotatable.GetAnnotations() | 
		 Gets all annotations on the current object. (Inherited from Annotatable) | 
        	
Extension Methods
| GetAnnotation(IAnnotatable, String) | 
		 Gets the annotation with the given name, throwing if it does not exist.  | 
        	
| AddAnnotations(IMutableAnnotatable, IEnumerable<IAnnotation>) | 
		 Adds annotations to an object.  | 
        	
| GetOrAddAnnotation(IMutableAnnotatable, String, String) | 
		 Gets the existing annotation with a given key, or adds a new annotation if one does not exist.  |