Frage

Does anyone know an alternative to Microsoft.Practices.EnterpriseLibrary.Data which has since been deprecated and now when I bring it in to VS2010 for the 1st time it wont even compile. Even if i keep the application an ASP.NET 2.0 Framework app, it still throws errors.

This is an old legacy application that I just inherited and I dont even quite know what the library is used for but its causing my app to critically fail.

War es hilfreich?

Lösung 2

Microsoft.Practices.EnterpriseLibrary.Data is not a default system namespace, that's why it is failing, you should download the correct version of the MS EnterpriseLibrary package containing that assembly and reference it from Visual Studio, deprecated or Obsolete ok but if you still have it and reference it, it should still work.

Also look at this one:

what is Microsoft.Practices.EnterpriseLibrary.Data

Andere Tipps

You are looking for an object relational mapper and the list of options for .NET is pretty long

  • My orm of choice is ServiceStack
  • Entity Framework, is Microsoft's official entry
  • Dapper is a lightweight orm, which, I believe, was created for StackOverflow
  • NHibernate is a port of Java's Hibernate and is the grandaddy of code first ORMs
  • Massive is another lightweight orm developed by Rob Conery of subsonic fame

There are a ton more, these are the first ones that came to mind

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top