EasyDb.NET

码农软件 · 软件分类 · ORM/持久层框架 · 2019-09-24 08:42:01

软件介绍

EasyDb.NET 是一个 .NET 的非常轻量级的数据库操作助手类。内部由 Dapper 驱动。

示例代码:

IConnectionFactory factory;

// build factory with given DbProviderFactory and Dialect.
factory = ConnectionFactoryBuilder.NewBuilder(
  System.Data.SQLite.SQLiteFactory.Instance,
  "Data Source=test.db;Pooling=true;FailIfMissing=false",
  "SQLiteFactory",
  new SQLiteDialect()
).Build();

// or build from strings
factory = ConnectionFactoryBuilder.NewBuilder(
  "mysql.data",
  "Server=127.0.0.1;Uid=root;Pwd=asdf;Database=sample;",
  "MySQLFactory",
  "LX.EasyDb.Dialects.MySQLDialect"
).Build()

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

Programming Concurrency on the JVM

Programming Concurrency on the JVM

Venkat Subramaniam / The Pragmatic Bookshelf / 2011-6-1 / USD 35.00

Concurrency on the Java platform has evolved, from the synchronization model of JDK to software transactional memory (STM) and actor-based concurrency. This book is the first to show you all these con......一起来看看 《Programming Concurrency on the JVM》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

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

HEX CMYK 互转工具