如何创建其属性行与ADO.NET数据库表中的C#类?属性、数据库、ADO、NET

2023-09-03 04:17:32 作者:撫琴作詩ゝ唱一曲離別殇

这可能吗?

请注意,我没有使用LINQ也不实体框架。

Please note I am not using LINQ nor Entity Framework.

推荐答案

您也可以检查出的小巧玲珑,斑点网 - 顺便说一句 - - 其中一个非常轻便,非常有能力的微ORM,是用来跑这里来这个网站

You could also check out Dapper-Dot-Net - a very lightweight and very capable "micro ORM" which - incidentally - is used to run this site here.

这是相当快的,一个* cs文件,可以与你平时的T-SQL命令并返回一个对象 - 就像一个魅力,它的速度非常快,很容易理解,没有什么大的开销 - 只是用它和享受!

It's quite fast, a single *.cs file, works with your usual T-SQL commands and returns objects - works like a charm, it's very fast, very easy to understand, no big overhead - just use it and enjoy!

 
精彩推荐
图片推荐