!! Maintenance is canceled. Next ORM is FreestyleOrm. !!
Simple microORM for .NET.
Features are as follows:
- Easy
- Faster
- Free
Works with SQL Server, MySQL, and SQLite.
Data manipulation is possible with a simple code. (Checkout the Wiki for more documentation.)
public class Customer
{
public int CustomerId { get; set; }
public string Name { get; set; }
}
DagentDatabase db = new DagentDatabase("connectionStringName");
List<Customer> customers = db.Query<Customer>("select * from Customers").List();
Customer customer = new Customer { CustomerId = 1, Name = "Ziba-nyan" };
db.Command<Customer>("Customers", "CustomerId").Insert(customer);
customer.Name = "Buchi-nyan";
db.Command<Customer>("Customers", "CustomerId").Update(customer);
db.Command<Customer>("Customers", "CustomerId").Delete(customer);
A key feature is performance. The following metrics show how long it takes to execute 500 SELECT statements against a DB and map the data returned to objects.
The performance tests are same test as the Dapper.
Dagent Keep the POCO. Your Class does not need to inherit Class or put Attribute. And is not dependent on SQL and TABLE.
The MIT License (MIT)