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
{{ message }}
This repository was archived by the owner on Dec 24, 2022. It is now read-only.
which will download and extract the dlls into your local local `lib/` folder.
57
57
58
+
## IMPORTANT NOTICE
59
+
60
+
Please upgrade your client code to use non-deprecated methods as we will be removing access to deprecated APIs in the next release of OrmLite.
61
+
62
+
***
63
+
64
+
## T4 Template Support
65
+
66
+
[Guru Kathiresan](https://github.com/gkathire) continues to enhance [OrmLite's T4 Template support](https://github.com/ServiceStack/ServiceStack.OrmLite/tree/master/src/T4) which are useful when you want to automatically generate POCO's and strong-typed wrappers for executing stored procedures.
67
+
68
+
69
+
## New Parameterized API's
70
+
71
+
We've now added API's that use parameterized statements for all SQL operations, these are identified with a **Param** suffix, e.g:
varpeople=db.Query<Track>("FirstName = @name and Age = @age", new { name="Jimi", age=27 })
90
+
```
91
+
92
+
Apartfromaslightperformanceincrease, parameterizedAPI's now lets you insert and update binary blob data. At the same time as these new parameterized API's, we've also added support for querying binary blob data.
List<int>results=db.SqlList<int>("EXEC GetTotalsForWeek @weekNo", new { weekNo=1 });
104
+
105
+
intresult=db.SqlScalar<int>("EXEC SELECT 10");
106
+
```
107
+
108
+
Some more examples can be found in [SqlServerProviderTests](https://github.com/ServiceStack/ServiceStack.OrmLite/blob/master/tests/ServiceStack.OrmLite.Tests/SqlServerProviderTests.cs).
109
+
58
110
## New Simplified API
59
111
We've streamlined our API, now all OrmLite extensions that used to be on `IDbCommand` now hang off `IDbConnection`
60
112
(just like Dapper), this reduces the boiler-plate when opening a connection to a single line, so now you can
0 commit comments