AnnotationValues Class
Represents a pair of annotation values in a scaffolded or hand-coded DbMigration.
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | AnnotationValues(Object, Object) | Creates a new pair of annotation values. |
Name | Description | |
---|---|---|
![]() | Equals(Object) | Determines whether the specified object is equal to this instance object.(Overrides Object.Equals(Object).) |
![]() | GetHashCode() | Retrieves the hash code.(Overrides Object.GetHashCode().) |
![]() | GetType() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | Equality(AnnotationValues, AnnotationValues) | Returns true if both annotation pairs contain the same values, otherwise false. |
![]() ![]() | Inequality(AnnotationValues, AnnotationValues) | Returns true if the two annotation pairs contain different values, otherwise false. |
Code First allows for custom annotations to be associated with columns and tables in the generated model. This class represents a pair of annotation values in a migration such that when the Code First model changes the old annotation value and the new annotation value can be provided to the migration and used in SQL generation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.