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.
[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. OrmLite's T4 support can be added via NuGet with:
More examples can be found in [SqlServerProviderTests](https://github.com/ServiceStack/ServiceStack.OrmLite/blob/master/tests/ServiceStack.OrmLite.Tests/SqlServerProviderTests.cs).
1008
-
1009
-
### Using typed SqlExpression in Custom SQL APIs
1031
+
### Stored Procedures with output params
1010
1032
1011
-
The Custom SQL API's also allow querying with Typed SQL Expressions:
1033
+
The `SqlProc` API provides even greater customization by letting you modify the underlying
1034
+
ADO.NET Stored Procedure call by returning a prepared `IDbCommand` allowing for
1035
+
advanced customization like setting and retriving OUT parameters, e.g:
More examples can be found in [SqlServerProviderTests](https://github.com/ServiceStack/ServiceStack.OrmLite/blob/master/tests/ServiceStack.OrmLite.Tests/SqlServerProviderTests.cs).
1068
+
1027
1069
## New Foreign Key attribute for referential actions on Update/Deletes
1028
1070
1029
1071
Creating a foreign key in OrmLite can be done by adding `[References(typeof(ForeignKeyTable))]` on the relation property,
0 commit comments