EF5: Where are my DataAnnotations?

Posted by: Julia Lerman Blog - Dont Be Iffy..., on 03 Apr 2012 | View original | Bookmarked: 0 time(s)

EF 4.x: EF 4.1+ has a DataAnnotations namespace for the new EF related annotations. Most of them are related to database schema. EF 5 Not even a DataAnnotations namespace in here. Thats because the annotations got incorporated into .NET 4.5.   .NET 4.5 A new namespace within System.ComponentModel.DataAnnotations: Schema All of the EF schema annotations are in here now. MaxLength and MinLength are in the DataAnnotations namespace. Added the following thanks to a suggestion from...

Category: XSD | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1447 | Hits: 23

Similar Posts

  • Oredev Wrap-Up more
  • Introducing Versatile DataSources more
  • Designer Support for One-Way navigations in Entity Framework 4 more
  • Why not Classic (Legacy) ASP? more
  • Deleting All Records In a Table EXCEPT For the N Most Recently Added Records more
  • .Net meet iPhone - MonoTouch released more
  • Gaia Ajax 3.6 Alpha released: Ajax GridView and Adaptive Rendering ++ more
  • Telerik and Imaginet Resources Introduce Free Developer Team Management Tools Built with RadControls for WPF more
  • Your code via NDepend more
  • Chat room questions from the EF Tips & Tricks webcast more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD