You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github.com/SimpleStack/simplestack.orm/releases/)
6
+

Follow [@simplestackproj](http://twitter.com/simplestackproj) on twitter for updates.
10
+
[SimpleStack.Orm](https://simplestack.org) is a layer on top of the wonderful [Dapper](https://github.com/StackExchange/dapper-dot-net/) project that generate SQL queries based on lambda expressions. It is designed to persist types with a minimal amount of intrusion and configuration. All the generated sql queries are using parameters to improve performance and security.
11
+
12
+
By using Dynamic queries it is also possible to generate queries without a corresponding Type, see [Dynamic Queries](https://simplestack.org/query/select_async_dyn) for more information.
6
13
7
-
SimpleStack.Orm is a set of light-weight C# extension methods around `System.Data.*` interfaces which is designed to persist POCO classes with a minimal amount of intrusion and configuration.
14
+
#### Main goals:
8
15
9
-
SimpleStack.Orm is based on the wonderfull [Dapper](https://github.com/StackExchange/dapper-dot-net/) project for all database acces. The SQL query generation code is based on [NServiceKit.OrmLite](https://github.com/NServiceKit/NServiceKit.OrmLite)
16
+
* Map a Type 1:1 to an RDBMS table or view.
17
+
* Create/Drop DB Table schemas using nothing but a Type. (IOTW a true code-first ORM)
18
+
* Simplicity - typed, wrist friendly API for common data access patterns.
* Support connections on multiple databases from the same application
23
+
24
+
In SimpleStak.Orm : **1 Class = 1 Table/View**. There are no surprising or hidden behavior. [Attributes](https://simplestack.org/attributes) may be added on your Type to tune the queries generation (Alias, Schema, PrimaryKey, Index,...)
10
25
11
-
Main objectives:
12
-
13
-
* Map a POCO class 1:1 to an RDBMS table, cleanly by conventions, without any attributes required.
14
-
* Create/Drop DB Table schemas using nothing but POCO class definitions (IOTW a true code-first ORM)
15
-
* Simplicity - typed, wrist friendly API for common data access patterns.
16
-
* Fully parameterized queries
17
-
* Cross platform - supports multiple dbs (currently: Sql Server, Sqlite, MySql, PostgreSQL) running on both .NET and Mono platforms.
18
-
19
-
In SimpleStak.Orm : **1 Class = 1 Table**. There should be no surprising or hidden behaviour.
20
-
21
-
Effectively this allows you to create a table from any POCO type and it should persist as expected in a DB Table with columns for each of the classes 1st level public properties.
As SimpleStack.Orm is based on Dapper, I encourage you to have a look at [Dapper documentation](https://github.com/StackExchange/dapper-dot-net/blob/master/Readme.md).
74
-
75
-
The first thing todo is to create an OrmConnectionFactory specifying the Dialectprovider to use and the connectionstring of your database.
0 commit comments