File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919// COM, set the ComVisible attribute to true on that type.
2020[ assembly: ComVisible ( false ) ]
2121
22- [ assembly: AssemblyVersion ( "0.18.0 .0" ) ]
23- [ assembly: AssemblyFileVersion ( "0.18.0 .0" ) ]
22+ [ assembly: AssemblyVersion ( "0.18.1 .0" ) ]
23+ [ assembly: AssemblyFileVersion ( "0.18.1 .0" ) ]
2424
Original file line number Diff line number Diff line change 22<package xmlns =" http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
33 <metadata >
44 <id >Simple.Data.Ado</id >
5- <version >0.18.0.1 </version >
5+ <version >1.0.0-rc2 </version >
66 <authors >Mark Rendle</authors >
77 <owners >Mark Rendle</owners >
88 <description >ADO Adapter for the Simple.Data data access library.</description >
1212 <tags >sqlserver database data ado .net40</tags >
1313 <language >en-us</language >
1414 <dependencies >
15- <dependency id =" Simple.Data.Core" version =" 0.18.0.1 " />
15+ <dependency id =" Simple.Data.Core" version =" 1.0.0-rc2 " />
1616 </dependencies >
1717 </metadata >
1818</package >
Original file line number Diff line number Diff line change 22<package xmlns : xsd =" http://www.w3.org/2001/XMLSchema" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
33 <metadata xmlns =" http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
44 <id >Simple.Data.Mocking</id >
5- <version >0.18.0.1 </version >
5+ <version >1.0.0-rc2 </version >
66 <authors >Mark Rendle</authors >
77 <owners >Mark Rendle</owners >
88 <description >XML-based Mocking adapter for the Simple.Data data access library.</description >
1212 <tags >database data .net40</tags >
1313 <language >en-us</language >
1414 <dependencies >
15- <dependency id =" Simple.Data.Ado" version =" 0.18.0.1 " />
15+ <dependency id =" Simple.Data.Ado" version =" 1.0.0-rc2 " />
1616 </dependencies >
1717 </metadata >
1818</package >
Original file line number Diff line number Diff line change 22<package xmlns =" http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
33 <metadata >
44 <id >Simple.Data.SqlCompact40</id >
5- <version >0.18.0.1 </version >
5+ <version >1.0.0-rc2 </version >
66 <authors >Mark Rendle</authors >
77 <owners >Mark Rendle</owners >
88 <licenseUrl >http://www.opensource.org/licenses/mit-license.php</licenseUrl >
Original file line number Diff line number Diff line change 22<package xmlns : xsd =" http://www.w3.org/2001/XMLSchema" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" >
33 <metadata xmlns =" http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
44 <id >Simple.Data.SqlServer</id >
5- <version >0.18.0.1 </version >
5+ <version >1.0.0-rc2 </version >
66 <authors >Mark Rendle</authors >
77 <owners >Mark Rendle</owners >
88 <description >SQL Server ADO provider for the Simple.Data data access library.</description >
1212 <tags >sqlserver database data ado .net40</tags >
1313 <language >en-us</language >
1414 <dependencies >
15- <dependency id =" Simple.Data.Ado" version =" 0.18.0.1 " />
15+ <dependency id =" Simple.Data.Ado" version =" 1.0.0-rc2 " />
1616 </dependencies >
1717 </metadata >
1818</package >
Original file line number Diff line number Diff line change @@ -67,6 +67,14 @@ public void SchemaQualifiedProcedureResolutionTest()
6767 Assert . AreEqual ( "test.SchemaProc" , actual . Actual ) ;
6868 }
6969
70+ [ Test ]
71+ public void GetCustomerCountAsOutputTest ( )
72+ {
73+ var db = DatabaseHelper . Open ( ) ;
74+ var actual = db . GetCustomerCountAsOutput ( ) ;
75+ Assert . AreEqual ( 42 , actual . OutputValues [ "Count" ] ) ;
76+ }
77+
7078#if DEBUG // Trace is only written for DEBUG build
7179 [ Test ]
7280 public void GetCustomerCountSecondCallExecutesNonQueryTest ( )
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[GetCu
1212DROP PROCEDURE [dbo].[GetCustomerAndOrders]
1313IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[GetCustomerCount]') AND type in (N'P', N'PC'))
1414DROP PROCEDURE [dbo].[GetCustomerCount]
15+ IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[GetCustomerCountAsOutput]') AND type in (N'P', N'PC'))
16+ DROP PROCEDURE [dbo].[GetCustomerCountAsOutput]
1517IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[ReturnStrings]') AND type in (N'P', N'PC'))
1618DROP PROCEDURE [dbo].[ReturnStrings]
1719IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[VarcharAndReturnInt]'))
@@ -351,6 +353,13 @@ CREATE PROCEDURE ReturnStrings(@Strings AS [dbo].[StringList] READONLY)
351353AS
352354SELECT Value FROM @Strings
353355GO
356+ CREATE PROCEDURE [dbo].[GetCustomerCountAsOutput](@Count INT = NULL OUTPUT)
357+ AS
358+ BEGIN
359+ SET NOCOUNT ON;
360+ SET @Count = 42
361+ END
362+ GO
354363CREATE FUNCTION [dbo].[VarcharAndReturnInt] (@AValue varchar(50)) RETURNS INT AS BEGIN
355364 IF ISNUMERIC(@AValue) = 1
356365 BEGIN
Original file line number Diff line number Diff line change 22<package xmlns =" http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd" >
33 <metadata >
44 <id >Simple.Data.Core</id >
5- <version >0.18.0.1 </version >
5+ <version >1.0.0-rc2 </version >
66 <authors >Mark Rendle</authors >
77 <owners >Mark Rendle</owners >
88 <licenseUrl >http://www.opensource.org/licenses/mit-license.php</licenseUrl >
You can’t perform that action at this time.
0 commit comments