SqlProvider

码农软件 · 软件分类 · 常用工具包 · 2019-08-14 15:44:21

软件介绍

对象映射生成sql语句,将sql的拼接转换为对象拼接输出sql语句,减少拼接sql的麻烦和容易出错,例子:

 string select = Provider.Singleton.Select<Info>()
                .From<Info>()
                .Where(new Info() { name="bouyei",age=12 })
                .SqlString;

select结果:"Select name,age From Info Where name='bouyei' And age=12 "

            string insert = Provider.Singleton.InsertInto<Info>("tablename",
                new Info() { name = "newbie", age = 13 })
                .SqlString;

insert结果:"Insert Into Info (name,age) Values('newbie',13)"

            string update = Provider.Singleton.Update<Info>()
                  .Set<Info>(new Info() { name = "openthinking.cn", age = 11 })
                  .Where<Info>(new Info() {name="bouyei",age=2 })
                  .SqlString;


update结果:"Update Info Set name='openthinking.cn',age=11 Where name='bouyei' And age=2 "

            string delete = Provider.Singleton.Delete<Info>()
                 .From<Info>()
                 .Where<Info>(x => x.name == "bouyei")
                 .SqlString;


delete 结果:"Delete From Info Where (name='bouyei') "

本文地址:https://codercto.com/soft/d/12355.html

众包

众包

杰夫·豪 / 牛文静 / 中信出版社 / 2009-6 / 36.00元

本书是继《长尾理论》之后的重要商业书籍。本书回答了《长尾理论》遗留的一大悬念。在长尾中作者详细阐述了长尾之所以成为可能的一个基础,但是没有详细解读,本书就是对这一悬念的详细回答,是《长尾理论》作者强力推荐的图书,在国际上引起了不小的轰动,“众包”这一概念也成为一个标准术语被商界广泛重视。本书大致分为三个部分,介绍众包的现在、过去和未来,解释了它的缘起、普遍性、力量以及商业上的适用性,通俗易懂,精彩......一起来看看 《众包》 这本书的介绍吧!

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具