@@ -66,14 +66,14 @@ First Install the NuGet package of the RDBMS you want to use, e.g:
66
66
Each RDBMS includes a specialized dialect provider that encapsulated the differences in each RDBMS
67
67
to support OrmLite features. The available Dialect Providers for each RDBMS is listed below:
68
68
69
- SqlServerDialect.Provider // Any SQL Server
70
- SqliteDialect.Provider // Sqlite
69
+ SqlServerDialect.Provider // Any SQL Server Version
71
70
SqlServer2012Dialect.Provider // SQL Server 2012+
71
+ SqliteDialect.Provider // Sqlite
72
72
PostgreSqlDialect.Provider // PostgreSQL
73
73
MySqlDialect.Provider // MySql
74
74
OracleDialect.Provider // Oracle
75
- VistaDbDialect.Provider // Vista DB
76
75
FirebirdDialect.Provider // Firebird
76
+ VistaDbDialect.Provider // Vista DB
77
77
78
78
To configure OrmLite you need the DB Connection string along the Dialect Provider of the RDBMS you're
79
79
connecting to, e.g:
@@ -88,13 +88,13 @@ If you're using an IOC you can register `OrmLiteConnectionFactory` as a **single
88
88
89
89
``` csharp
90
90
container .Register <IDbConnectionFactory >(c =>
91
- OrmLiteConnectionFactory (" :memory:" , SqliteDialect .Provider )); // In Memory Sqlite DB
91
+ OrmLiteConnectionFactory (" :memory:" , SqliteDialect .Provider )); // InMemory Sqlite DB
92
92
```
93
93
94
- Use the ` dbFactory ` to open an ADO.NET DB Connection to your database.
94
+ You can then use the ` dbFactory ` to open ADO.NET DB Connections to your database.
95
95
If connecting to an empty database you can use OrmLite's Create Table API's to create any tables
96
- you need based on the Schema definition of your POCO and populate it with any initial seed data
97
- you need, e.g:
96
+ you need based solely on the Schema definition of your POCO and populate it with any initial
97
+ seed data you need, e.g:
98
98
99
99
``` csharp
100
100
using (var db = dbFactory .Open ())
@@ -111,11 +111,12 @@ using (var db = dbFactory.Open())
111
111
112
112
## [ Type Converters] ( https://github.com/ServiceStack/ServiceStack.OrmLite/wiki/OrmLite-Type-Converters )
113
113
114
- You can customize, enhance or replace how OrmLite handles different .NET Types with
114
+ You can customize, enhance or replace how OrmLite handles specific .NET Types with the new
115
115
[ OrmLite Type Converters] ( https://github.com/ServiceStack/ServiceStack.OrmLite/wiki/OrmLite-Type-Converters ) .
116
116
117
- See the [ docs on SQL Server Types] ( https://github.com/ServiceStack/ServiceStack.OrmLite/wiki/SQL-Server-Types )
118
- for how to enable support for SQL Server-specific ` SqlGeography ` , ` SqlGeometry ` and ` SqlHierarchyId ` Types.
117
+ There's also support for SQL Server-specific ` SqlGeography ` , ` SqlGeometry ` and ` SqlHierarchyId ` Types,
118
+ See [ docs on SQL Server Types] ( https://github.com/ServiceStack/ServiceStack.OrmLite/wiki/SQL-Server-Types )
119
+ for instructions on how to enable them.
119
120
120
121
## Dynamic Result Sets
121
122
0 commit comments