开发者

Business application - framework

I'm writing a business application using Entity Framework and there are some things that I need like:

  • transaction and transaction scope management **
  • data filtering
  • contr开发者_Python百科ol over refreshing data from the db (eg. every 15 s)
  • be able to manage what changes are being made to the data and to be able to undo some of them

Those things aren't supported in any way by Entity Framework (or at least it's not easy to accomplish it).

Are there any libraries that sit on top of EF and can do that (or maybe they have their own ORMs) ? Do I really have to implement that myself?

** I mean something like: I have an object and want to do some changes to it - I start a transaction and every change that is done from that point in time is included in the transaction, then I commit and that's all that gets commited to the db - other objects live their own happy lives.


Wouldn't any standard ORM do all that for you? Both Hibernate and SQLAlchemy (the big ones I've worked with so far) will do all that stuff for you. They both support transactions, versioning, filtering is straightforward and both support rollbacks during transactions.

For rapid business application development, have a look at Spring Roo, Entity Framework sounds like something that is not ready for the market, Spring is.

Quote from wikipedia: The first version of Entity Framework (EFv1) was included with .NET Framework 3.5 Service Pack 1 and Visual Studio 2008 Service Pack 1, released on 11 August 2008. This version has been widely criticized, even attracting a 'vote of no confidence' signed by several hundred developers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜