.Net – Entity Framework – Error – “Error CS1070: The type name ‘TableAttribute’ could not be found. This type has been forwarded to assembly ‘System.ComponentModel.DataAnnotations’

Background A quick follow up to our last post on adding annotations to our plain old C# class ( POCO). Lineage .Net – Entity Framework – error CS0246: The type or namespace name ‘DatabaseGenerated’ could not be found Link   Error Error Text Error Image Remediation Outline Please be sure to add System.ComponentModel.DataAnnotations.dll to the … Continue reading .Net – Entity Framework – Error – “Error CS1070: The type name ‘TableAttribute’ could not be found. This type has been forwarded to assembly ‘System.ComponentModel.DataAnnotations’

.Net – Entity Framework – error CS0246: The type or namespace name ‘DatabaseGenerated’ could not be found

Background Here is our first post on adding annotations to our plain old C# class ( POCO). Lineage .Net – Entity Framework – error CS0246: The type or namespace name ‘DatabaseGenerated’ could not be found Link Error Error Text Error Image TroubleShooting Source Code Source Code - Included Namespaces Here are the originally included namespaces :- … Continue reading .Net – Entity Framework – error CS0246: The type or namespace name ‘DatabaseGenerated’ could not be found