惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

P
Privacy International News Feed
Martin Fowler
Martin Fowler
D
Docker
Y
Y Combinator Blog
云风的 BLOG
云风的 BLOG
U
Unit 42
T
Tailwind CSS Blog
J
Java Code Geeks
G
Google Developers Blog
MongoDB | Blog
MongoDB | Blog
阮一峰的网络日志
阮一峰的网络日志
WordPress大学
WordPress大学
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
美团技术团队
F
Fortinet All Blogs
N
News and Events Feed by Topic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Hacker News - Newest:
Hacker News - Newest: "LLM"
The GitHub Blog
The GitHub Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Recorded Future
Recorded Future
N
Netflix TechBlog - Medium
Google DeepMind News
Google DeepMind News
Hacker News: Ask HN
Hacker News: Ask HN
L
LINUX DO - 最新话题
Microsoft Security Blog
Microsoft Security Blog
N
News and Events Feed by Topic
I
Intezer
TaoSecurity Blog
TaoSecurity Blog
NISL@THU
NISL@THU
小众软件
小众软件
博客园 - 聂微东
博客园 - Franky
有赞技术团队
有赞技术团队
P
Palo Alto Networks Blog
爱范儿
爱范儿
H
Hacker News: Front Page
C
Cyber Attacks, Cyber Crime and Cyber Security
C
Cisco Blogs
P
Proofpoint News Feed
I
InfoQ
Google DeepMind News
Google DeepMind News
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Vercel News
Vercel News
H
Heimdal Security Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
量子位

博客园 - mapserver

MicroOrm.Net和现有ORM产品的对比 MicroOrm.Net(8) Table.Query() - Distinct、Skip & Take MicroOrm.Net(7) Table.Query() - Group By & Having MicroOrm.Net(6) Table.Query() - Join & Order By MicroOrm.Net(5) Table.Query() - Select MicroOrm.Net(4) Table.Query() - Where MicroOrm.Net(3) Database、Table、Column、Expression、Math&MathE MicroOrm.Net(2) 基础及动态特性 Asp.net服务器控件编程(6) ViewState(二)——ViewState用法和IStateManager Asp.net服务器控件编程(5) 复杂属性 Asp.net服务器控件编程(4) 呈现 Asp.net服务器控件编程(3) ViewState(一)——asp.net控件的精华之一 Asp.net服务器控件编程(2) 来做个热身运动吧 Asp.net服务器控件编程(1) 开篇、基础 Asp.net服务器控件编程 总览 TextDataSource(3) — 请把我的数据更新回去 TextDataSource(2) — 翠花,上“数据” TextDataSource(1) — DataSourceControl内幕 .NET组件编程(10) 补充 ISupportInitialize
MicroOrm.Net(1) 总览
mapserver · 2012-04-07 · via 博客园 - mapserver

一直对orm情有独钟,在开发的过程中也用过很多的orm产品,他们的确给我们带来了很多方便,同时也给我们带来了很多的麻烦:

1、需要定义Model很烦,不管是先有Table,再生成Model代码;还是先定义Model代码,再反向生成Table。

2、关联查询复杂,虽然可以设置抓取规则,但是还是很复杂。

3、对持久上下文(ObjectContext[EF]、Session[NHibernate])很不喜欢,当然也有很多人非常喜欢这个东西。

基于上面的原因,就产生了MicroOrm.Net,目前也有一些开源的微型orm产品,在此也不会和这些产品进行对比。

主页:http://code.google.com/p/micro-orm-net/

特点:

Dynamic & lightweight:基于.Net 4.0开发,里面大量使用了DynamicObject。
Non-strongly typed result support:返回值可以是DynamicObject,也就是动态对象。
Strongly typed result support:返回值也可以是Model强类型。
Multiple database support(currently only support sql server):目前只支持sql server,现在我们正在使用,接受项目考验,打算等到1.0正式版本发布后,再支持mysql、oracle

下面是文章列表:

MicroOrm.Net(1) 总览

MicroOrm.Net(2) 基础及动态特性

MicroOrm.Net(3) Database、Table、Column、Expression、Math&MathE

MicroOrm.Net(4) Table.Query() - Where

MicroOrm.Net(5) Table.Query() - Select

MicroOrm.Net(6) Table.Query() - Join & Order By

MicroOrm.Net(7) Table.Query() - Group By & Having

MicroOrm.Net(8) Table.Query() - Distinct、Skip & Take

MicroOrm.Net(9) Insert

MicroOrm.Net(10) Update

MicroOrm.Net(11) Delete

MicroOrm.Net(12) TransactionScope & CodeScope

MicroOrm.Net(13) 再议Table.Query() - Where

MicroOrm.Net(14) Roadmap

MicroOrm.Net和现有ORM产品的对比

最后一点:很多开发人员在使用一个东西的时候,都会问有没有什么大公司在使用,以此来寻求信心。目前MicroOrm.Net只有我自己项目在使用,如果你怕就不要使用了;如果你不怕,在使用的过程中MicroOrm.Net出现了什么Bug,或者合理的需求,我将会尽力帮你解决。