什么是您使用的ORM框架的最佳功能 [英] Whats the best feature of the ORM framework you use

查看:153
本文介绍了什么是您使用的ORM框架的最佳功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道您使用的orm框架的最佳功能是什么,以及您发现自己最常用的功能是什么?

I'm wondering what the best feature(s) of the orm framework you use and what features you find yourself using most?

您选择的原因是什么您使用的框架?

What is the reason you chose the framework you use?

我只是想比较他们,想知道是否有任何优势。 (这是非常好的谷歌这个,但你不能击败第一手用户体验!)

I'm just trying to compare them and wondered if any offers advantages over the other. (it's all very well googling this but you can't beat first hand user experiences!)

具体我正在寻找一个.Net框架,但仍然好奇ORM /

Specifically I'm looking for a .Net framework but still curious about ORM/features in other langauges.

提前感谢!

推荐答案


我想知道你使用的orm框架的最好的功能和你发现自己使用最多的功能?

I'm wondering what the best feature(s) of the orm framework you use and what features you find yourself using most?

我写了我自己的ORM。功能包括:

I wrote my own ORM. Features include:


  • 基于抽象表定义,每个表的机器生成代码

  • Machine-generated code for each table, based on abstract table definitions

一个库/框架,它作用于表定义和运行时数据,以便实现如下的功能:

A library/framework, which acts on the table definitions and the run-time data, in order to implement ueful functions like:


  • 创建表(或更新表定义)

  • CRUD

  • 触发存储过程,

  • 支持树状数据(使用嵌套集)

  • 将应用程序类型(C#类实例)转换为SQL数据记录, / li>
  • Create tables (or update table definitions)
  • CRUD
  • Triggered stored procedures which create history records when a table's contents are changed
  • Support for tree-like data (using nested sets)
  • Transforming application types (C# class instances) to SQL data records and vice versa

使用?

What is the reason you chose the framework you use?

我不想使用现有的ORM,因为我担心我迟早会发现, t实现一些我想要的功能,然后我会发现很难添加该功能。

I didn't want to use an existing ORM, because I feared that I might sooner or later find that it did't implement some feature that I wanted, and that I'd then find it difficult to add that feature.

我想使用一个ORM,因为我不想以写入和维护每个表的代码。

I wanted to use an ORM, because I didn't want to write and maintain code for each individual table.

这篇关于什么是您使用的ORM框架的最佳功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆