Just forget that Repository<T> exists, please.

Posted by: More Whidbey stuff, on 29 Jan 2015 | View original | Bookmarked: 0 time(s)

If theres a class thats caused Orchard users more confusion, bugs, and disappointment than Repository<T>, Id like to know about it Generic repositories are a well-known anti-pattern, something that the designers of the Orchard data layer were fully aware of, but decided to use anyway as helpers in the implementation of this piece of code that bridges Orchards runtime dynamic type system to nHibernates database mappings. The class should arguably have been made internal or private (which is...

Similar Posts

  • Data-binding Telerik CoverFlow for Silverlight + some Routed Commands goodness more
  • RadControls for WinForms Q3 2009 - HTML-like Text Formatting more
  • Ambiguous References in DefaultWsdlHelpGenerator.aspx more
  • Improving JavaScript Skills more
  • Using T4 Templates for Simple DTOs more
  • How to display data from different tables using one data source more
  • ClientIDMode in ASP.NET 4.0 more
  • How To: Silverlight grid hierarchy load on demand using MVVM and RIA services more
  • Formatting Text in RadControls for WinForms Q3 2009 more
  • format-DateTime with XSL 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