nullabletypes-cvs Mailing List for NullableTypes (Page 5)
Status: Inactive
Brought to you by:
lukadotnet
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(3) |
Feb
(3) |
Mar
|
Apr
|
May
(4) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
(4) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(32) |
Nov
(2) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(3) |
Jun
(3) |
Jul
(5) |
Aug
(1) |
Sep
(10) |
Oct
(7) |
Nov
(23) |
Dec
(29) |
2009 |
Jan
(15) |
Feb
(15) |
Mar
(13) |
Apr
(17) |
May
(32) |
Jun
(25) |
Jul
(29) |
Aug
(8) |
Sep
(1) |
Oct
|
Nov
|
Dec
(9) |
2010 |
Jan
(10) |
Feb
(7) |
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
From: <luk...@pr...> - 2004-01-30 16:32:36
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Types In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12403/src/Types Modified Files: NullableInt16.cs NullableInt32.cs Log Message: Index: NullableInt16.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableInt16.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NullableInt16.cs 8 Dec 2003 21:57:27 -0000 1.12 --- NullableInt16.cs 30 Jan 2004 16:31:03 -0000 1.13 *************** *** 5,8 **** --- 5,9 ---- // Luca Minudel (luk...@us...) // Damien Guard (dam...@us...) + // Partha Choudhury (par...@us...) // // Date Author Changes Reasons *************** *** 19,24 **** // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableInt16XmlSchema" with "NullableInt16" // because VSDesigner use it as type-name in the auto-generated WS client Proxy ! // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with // other types in NullableTypes // --- 20,26 ---- // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableInt16XmlSchema" with "NullableInt16" // because VSDesigner use it as type-name in the auto-generated WS client Proxy ! // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with // other types in NullableTypes + // 30-Dec-2003 Partha Upgrade Replaced hardcoded MInValue and MaxValue values with Int16.MinValue/MaxValue // *************** *** 49,57 **** /// Maximum value of this type of object /// </summary> ! public static readonly NullableInt16 MaxValue = new NullableInt16 (32767); /// <summary> /// Minimum value of this type of object /// </summary> ! public static readonly NullableInt16 MinValue = new NullableInt16 (-32768); /// <summary> /// Null initializer for this object. --- 51,59 ---- /// Maximum value of this type of object /// </summary> ! public static readonly NullableInt16 MaxValue = new NullableInt16 (sys.Int16.MaxValue); /// <summary> /// Minimum value of this type of object /// </summary> ! public static readonly NullableInt16 MinValue = new NullableInt16 (sys.Int16.MinValue); /// <summary> /// Null initializer for this object. Index: NullableInt32.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableInt32.cs,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** NullableInt32.cs 8 Dec 2003 21:57:27 -0000 1.19 --- NullableInt32.cs 30 Jan 2004 16:31:03 -0000 1.20 *************** *** 4,7 **** --- 4,8 ---- // Authors: Luca Minudel (luk...@us...) // Damien Guard (dam...@us...) + // Partha Choudhury (par...@us...) // // Date Author Changes Reasons *************** *** 20,23 **** --- 21,25 ---- // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with // other types in NullableTypes + // 30-Dec-2003 Partha Upgrade Replaced hardcoded MInValue and MaxValue values with Int16.MinValue/MaxValue // *************** *** 48,52 **** /// The value for this constant is 2.147.483.647. /// </remarks> ! public static readonly NullableInt32 MaxValue = new NullableInt32(2147483647); /// <summary> --- 50,54 ---- /// The value for this constant is 2.147.483.647. /// </remarks> ! public static readonly NullableInt32 MaxValue = new NullableInt32(sys.Int32.MaxValue); /// <summary> *************** *** 57,61 **** /// The value for this constant is -2.147.483.648. /// </remarks> ! public static readonly NullableInt32 MinValue = new NullableInt32(-2147483648); /// <summary> --- 59,63 ---- /// The value for this constant is -2.147.483.648. /// </remarks> ! public static readonly NullableInt32 MinValue = new NullableInt32(sys.Int32.MinValue); /// <summary> |
From: <luk...@pr...> - 2004-01-30 16:32:36
|
Update of /cvsroot/nullabletypes/NullableTypes/samples/C# In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12403/samples/C# Modified Files: samples.csproj samples.sln Log Message: Index: samples.csproj =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/samples/C#/samples.csproj,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** samples.csproj 23 Aug 2003 21:28:36 -0000 1.2 --- samples.csproj 30 Jan 2004 16:31:02 -0000 1.3 *************** *** 2,7 **** <CSHARP ProjectType = "Local" ! ProductVersion = "7.0.9466" ! SchemaVersion = "1.0" ProjectGuid = "{F2CFA83D-85CE-4EF1-AE02-05479BB2FEA1}" > --- 2,7 ---- <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.3077" ! SchemaVersion = "2.0" ProjectGuid = "{F2CFA83D-85CE-4EF1-AE02-05479BB2FEA1}" > *************** *** 17,21 **** --- 17,24 ---- DelaySign = "false" OutputType = "Exe" + PreBuildEvent = "" + PostBuildEvent = "" RootNamespace = "samples" + RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > *************** *** 31,34 **** --- 34,39 ---- FileAlignment = "4096" IncrementalBuild = "true" + NoStdLib = "false" + NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" *************** *** 49,52 **** --- 54,59 ---- FileAlignment = "4096" IncrementalBuild = "false" + NoStdLib = "false" + NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" Index: samples.sln =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/samples/C#/samples.sln,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** samples.sln 30 Jun 2003 22:42:02 -0000 1.1 --- samples.sln 30 Jan 2004 16:31:02 -0000 1.2 *************** *** 1,11 **** ! Microsoft Visual Studio Solution File, Format Version 7.00 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "samples", "samples.csproj", "{F2CFA83D-85CE-4EF1-AE02-05479BB2FEA1}" EndProject Global GlobalSection(SolutionConfiguration) = preSolution ! ConfigName.0 = Debug ! ConfigName.1 = Release ! EndGlobalSection ! GlobalSection(ProjectDependencies) = postSolution EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution --- 1,11 ---- ! Microsoft Visual Studio Solution File, Format Version 8.00 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "samples", "samples.csproj", "{F2CFA83D-85CE-4EF1-AE02-05479BB2FEA1}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection EndProject Global GlobalSection(SolutionConfiguration) = preSolution ! Debug = Debug ! Release = Release EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution |
From: <luk...@pr...> - 2004-01-30 16:32:36
|
Update of /cvsroot/nullabletypes/NullableTypes In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12403 Modified Files: ReadMe.txt ReleaseNotes.txt Log Message: Index: ReadMe.txt =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/ReadMe.txt,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** ReadMe.txt 1 Dec 2003 12:26:57 -0000 1.14 --- ReadMe.txt 30 Jan 2004 16:31:02 -0000 1.15 *************** *** 18,24 **** 0. THIS BETA ============== ! This beta follows the official release v1.0, it enable NullableTypes to work smoothly ! with Web Services as built-in types. As usual this beta has been released to find out bugs and ! expose implementation defects. To check that NullableTypes run correctly on your system, first of all do run tests (from the 'tests' --- 18,24 ---- 0. THIS BETA ============== ! This beta follows the beta v1.1.0, it enable NullableTypes to work smoothly ! with Web Services as built-in types and correct some bugs of beta v1.1.0. As usual this beta has been ! released to find out bugs and expose implementation defects. To check that NullableTypes run correctly on your system, first of all do run tests (from the 'tests' *************** *** 79,89 **** 4. .NET AND VS.NET VERSIONS ============================== ! NullableTypes source code has been written and compiled against .NET Framework v1.0. Due to high degree of support for .NET Framework v1.1 backward compatibility (most applications created ! using v1.0 will run on v1.1) NullableTypes source code still compile with .NET Framework v1.1 and ! NullableTypes assembly still run and pass tests on .NET Framework v1.1. ! NullableTypes projects and source code are created using VS.NET 2002 but they can be loaded from ! VS.NET 2003 without problems. --- 79,88 ---- 4. .NET AND VS.NET VERSIONS ============================== ! NullableTypes source code has been written and compiled against .NET Framework v1.1. Due to high degree of support for .NET Framework v1.1 backward compatibility (most applications created ! using v1.0 will run on v1.1) NullableTypes source code still compile with .NET Framework v1.0 and ! NullableTypes assembly still run and pass tests on .NET Framework v1.0. ! NullableTypes projects and source code are created using VS.NET 2002 and have been converted to VS.NET 2003. *************** *** 141,148 **** - Eric Lau (NullableDateTime) - Rob Cowell (NullableString) ! - Massimo Prota (VB.NET sample, porting Linux/Mono) ! Thanks also goes to Massimo Roccaforte, Ron Burd and Alberto Tronchin for their suggestions and to ! Damien Guard for implementing Web Services support. At the end thanks also goes to the open-source community that developed these tools: --- 140,147 ---- - Eric Lau (NullableDateTime) - Rob Cowell (NullableString) ! - Massimo Prota (porting to Linux/Mono, VB.NET sample) ! Thanks also goes to Massimo Roccaforte, Roni Burd, Partha Choudhury and Alberto Tronchin for ! their suggestions and to Damien Guard for his help implementing Web Services support. At the end thanks also goes to the open-source community that developed these tools: Index: ReleaseNotes.txt =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/ReleaseNotes.txt,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** ReleaseNotes.txt 30 Oct 2003 03:05:51 -0000 1.10 --- ReleaseNotes.txt 30 Jan 2004 16:31:02 -0000 1.11 *************** *** 1,6 **** NullableTypes ver. 1.1.1 (beta) ---------------------------------------------------------- ! This beta follow the official release v1.0. It adds ! new features while it does not fix bugs (no bugs reported 'til now). It include binary, samples in C# and VB.NET, help and source code. --- 1,6 ---- NullableTypes ver. 1.1.1 (beta) ---------------------------------------------------------- ! This beta follow the beta v1.1.0 It fix bugs introduced in the ! new features of beta v1.1.0. It include binary, samples in C# and VB.NET, help and source code. *************** *** 22,27 **** --- 22,40 ---- Changes from ver. 1.1.0 (beta) + - BUG FIX: Replaced Xml Schema Id in all NullableTypes to + make VSDesigner auto-generated WS client Proxy compile + - BUG FIX: Replaced Target Namespace for Xml Schema in all + NullableTypes to avoid duplicate namespace when using + 2 or more NullableTypes parameters in a WS method + - BUG FIX: Fixed IXmlSerializable.ReadXml implementation in + NullableBoolean - NullableBoolean Operator^ (XOR) marked Obsolete - NullableBoolean Xor method marked Obsolete + - Compiled with VS.NET 2003 C# compiler (needed to make + Obsolete attribute work for Operator) and .NET Framework 1.1 + - Replaced literal values in MinValue and MaxValue inizialization + in NullableInt16 and NullableInt32 with System.Int16 and System.Int32 + MinValue and MaxValue constants + - C# Sample ported to VS.NET 2003 Changes from ver. 1.0 |
From: <luk...@us...> - 2003-12-08 21:57:30
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Types In directory sc8-pr-cvs1:/tmp/cvs-serv8251/src/Types Modified Files: NullableDateTime.cs NullableDecimal.cs NullableDouble.cs NullableInt16.cs NullableInt32.cs NullableInt64.cs NullableSingle.cs NullableString.cs Types.csproj Log Message: Index: NullableDateTime.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableDateTime.cs,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** NullableDateTime.cs 7 Oct 2003 20:23:45 -0000 1.19 --- NullableDateTime.cs 8 Dec 2003 21:57:27 -0000 1.20 *************** *** 22,25 **** --- 22,29 ---- // 03-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableDateTimeXmlSchema" with "NullableDateTime" + // because VSDesigner use it as type-name in the auto-generated WS client Proxy + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with + // other types in NullableTypes // *************** *** 219,223 **** // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableDateTime" type="xs:dateTime" nillable = "true" /> --- 223,227 ---- // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableDateTimeXMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableDateTime" type="xs:dateTime" nillable = "true" /> *************** *** 234,240 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableDateTimeXmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 238,244 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableDateTime"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableDateTimeXMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; Index: NullableDecimal.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableDecimal.cs,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** NullableDecimal.cs 7 Oct 2003 20:23:45 -0000 1.18 --- NullableDecimal.cs 8 Dec 2003 21:57:27 -0000 1.19 *************** *** 6,21 **** // Damien Guard (dam...@us...) // ! // Date Author Changes Reasons ! // 11-Apr-2003 Luca Create Declared public members ! // 17-Jun-2003 Luca Create Added XML documentation ! // 24-Jun-2003 Abhijeet Create Added method definitions. ! // 27-Jun-2003 Luca Refactoring Unified equivalent error messages ! // 30-Jun-2003 Luca Upgrade New requirement by Roni Burd: GetTypeCode ! // 02-Jul-2003 Luca Bug Fix Removed bugs to pass tests ! // 07-Jul-2003 Luca Upgrade Applied FxCop guideline: explicited CurrentCulture in CompareTo, ! // ToString, Parse, NullableString conv. and Equals code ! // 13-Sep-2003 Luca Upgrade New requirement: the type must be sarializable ! // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable ! // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code // --- 6,25 ---- // Damien Guard (dam...@us...) // ! // Date Author Changes Reasons ! // 11-Apr-2003 Luca Create Declared public members ! // 17-Jun-2003 Luca Create Added XML documentation ! // 24-Jun-2003 Abhijeet Create Added method definitions. ! // 27-Jun-2003 Luca Refactoring Unified equivalent error messages ! // 30-Jun-2003 Luca Upgrade New requirement by Roni Burd: GetTypeCode ! // 02-Jul-2003 Luca Bug Fix Removed bugs to pass tests ! // 07-Jul-2003 Luca Upgrade Applied FxCop guideline: explicited CurrentCulture in CompareTo, ! // ToString, Parse, NullableString conv. and Equals code ! // 13-Sep-2003 Luca Upgrade New requirement: the type must be sarializable ! // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable ! // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code ! // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableDecimalXmlSchema" with "NullableDecimal" ! // because VSDesigner use it as type-name in the auto-generated WS client Proxy ! // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with ! // other types in NullableTypes // *************** *** 375,380 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableDecimal" type="xs:decimal" nillable="true" /> --- 379,384 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableDecimalXMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableDecimalXMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableDecimal" type="xs:decimal" nillable="true" /> *************** *** 390,396 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableDecimalXmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 394,400 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableDecimal"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableDecimalXMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; Index: NullableDouble.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableDouble.cs,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** NullableDouble.cs 7 Oct 2003 20:23:45 -0000 1.16 --- NullableDouble.cs 8 Dec 2003 21:57:27 -0000 1.17 *************** *** 16,19 **** --- 16,23 ---- // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableDoubleXmlSchema" with "NullableDouble" + // because VSDesigner use it as type-name in the auto-generated WS client Proxy + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with + // other types in NullableTypes // *************** *** 229,234 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableDouble" type="xs:double" nillable="true" /> --- 233,238 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableDoubleXMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableDoubleXMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableDouble" type="xs:double" nillable="true" /> *************** *** 244,250 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableDoubleXmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 248,254 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableDouble"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableDoubleXMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; Index: NullableInt16.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableInt16.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** NullableInt16.cs 7 Oct 2003 20:23:45 -0000 1.11 --- NullableInt16.cs 8 Dec 2003 21:57:27 -0000 1.12 *************** *** 6,20 **** // Damien Guard (dam...@us...) // ! // Date Author Changes Reasons ! // 03-Jun-2003 Abhijeet Create ! // 24-Jun-2003 Luca Create Added XML documentation ! // 27-Jun-2003 Luca Refactoring Unified equivalent error messages ! // 30-Jun-2003 Luca Upgrade New requirement by Roni Burd: GetTypeCode ! // 30-Jun-2003 Luca Upgrade Removed NullableMoney and NullableGuid ! // 07-Jul-2003 Luca Upgrade Applied FxCop guideline: explicited CurrentCulture in CompareTo, Parse ! // and ToString code ! // 13-Sep-2003 Luca Upgrade New requirement: the type must be sarializable ! // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable ! // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code // --- 6,24 ---- // Damien Guard (dam...@us...) // ! // Date Author Changes Reasons ! // 03-Jun-2003 Abhijeet Create ! // 24-Jun-2003 Luca Create Added XML documentation ! // 27-Jun-2003 Luca Refactoring Unified equivalent error messages ! // 30-Jun-2003 Luca Upgrade New requirement by Roni Burd: GetTypeCode ! // 30-Jun-2003 Luca Upgrade Removed NullableMoney and NullableGuid ! // 07-Jul-2003 Luca Upgrade Applied FxCop guideline: explicited CurrentCulture in CompareTo, Parse ! // and ToString code ! // 13-Sep-2003 Luca Upgrade New requirement: the type must be sarializable ! // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable ! // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code ! // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableInt16XmlSchema" with "NullableInt16" ! // because VSDesigner use it as type-name in the auto-generated WS client Proxy ! // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with ! // other types in NullableTypes // *************** *** 131,136 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableInt16" type="xs:short" nillable="true" /> --- 135,140 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableInt16XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableInt16XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableInt16" type="xs:short" nillable="true" /> *************** *** 146,152 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableInt16XmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 150,156 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableInt16"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableInt16XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; Index: NullableInt32.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableInt32.cs,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** NullableInt32.cs 7 Oct 2003 20:23:45 -0000 1.18 --- NullableInt32.cs 8 Dec 2003 21:57:27 -0000 1.19 *************** *** 16,19 **** --- 16,23 ---- // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableInt32XmlSchema" with "NullableInt32" + // because VSDesigner use it as type-name in the auto-generated WS client Proxy + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with + // other types in NullableTypes // *************** *** 189,194 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableInt32" type="xs:int" nillable="true" /> --- 193,198 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableInt32XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableInt32XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableInt32" type="xs:int" nillable="true" /> *************** *** 204,210 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableInt32XmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 208,214 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableInt32"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableInt32XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; Index: NullableInt64.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableInt64.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** NullableInt64.cs 7 Oct 2003 20:23:45 -0000 1.11 --- NullableInt64.cs 8 Dec 2003 21:57:27 -0000 1.12 *************** *** 15,18 **** --- 15,22 ---- // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableInt64XmlSchema" with "NullableInt64" + // because VSDesigner use it as type-name in the auto-generated WS client Proxy + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with + // other types in NullableTypes // *************** *** 188,193 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableInt64" type="xs:long" nillable="true" /> --- 192,197 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableInt64XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableInt64XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableInt64" type="xs:long" nillable="true" /> *************** *** 203,209 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableInt64XmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 207,213 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableInt64"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableInt64XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; Index: NullableSingle.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableSingle.cs,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** NullableSingle.cs 7 Oct 2003 20:23:45 -0000 1.18 --- NullableSingle.cs 8 Dec 2003 21:57:27 -0000 1.19 *************** *** 16,19 **** --- 16,23 ---- // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableSingleXmlSchema" with "NullableSingle" + // because VSDesigner use it as type-name in the auto-generated WS client Proxy + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with + // other types in NullableTypes // *************** *** 250,255 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableSingle" type="xs:float" nillable="true" /> --- 254,259 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableSingleXMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableSingleXMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableSingle" type="xs:float" nillable="true" /> *************** *** 265,271 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableSingleXmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 269,275 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableSingle"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableSingleXMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; Index: NullableString.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableString.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** NullableString.cs 7 Oct 2003 20:23:45 -0000 1.13 --- NullableString.cs 8 Dec 2003 21:57:27 -0000 1.14 *************** *** 6,22 **** // Damien Guard (dam...@us...) // ! // Date Author Changes Reasons ! // 14-Apr-2003 Luca Create Declared public members ! // 30-Apr-2003 NiceGuyUK Create Started implementation (fields, constructors, INullable, IComparable) ! // 17-Jun-2003 Luca Create Added XML documentation ! // 24-Jun-2003 Luca Create Implementation completed ! // 27-Jun-2003 Luca Refactoring Unified equivalent error messages ! // 30-Jun-2003 Luca Upgrade New requirement by Roni Burd: GetTypeCode ! // 30-Jun-2003 Luca Upgrade Removed NullableMoney and NullableGuid ! // 07-Jul-2003 Luca Upgrade Applied FxCop guideline: explicited CurrentCulture in Compare, ! // explicit conv. operators and CompareTo code ! // 13-Sep-2003 Luca Upgrade New requirement: the type must be sarializable ! // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable ! // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code // --- 6,26 ---- // Damien Guard (dam...@us...) // ! // Date Author Changes Reasons ! // 14-Apr-2003 Luca Create Declared public members ! // 30-Apr-2003 NiceGuyUK Create Started implementation (fields, constructors, INullable, IComparable) ! // 17-Jun-2003 Luca Create Added XML documentation ! // 24-Jun-2003 Luca Create Implementation completed ! // 27-Jun-2003 Luca Refactoring Unified equivalent error messages ! // 30-Jun-2003 Luca Upgrade New requirement by Roni Burd: GetTypeCode ! // 30-Jun-2003 Luca Upgrade Removed NullableMoney and NullableGuid ! // 07-Jul-2003 Luca Upgrade Applied FxCop guideline: explicited CurrentCulture in Compare, ! // explicit conv. operators and CompareTo code ! // 13-Sep-2003 Luca Upgrade New requirement: the type must be sarializable ! // 05-Oct-2003 DamienG Upgrade New requirement: the type must be XmlSerializable ! // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code ! // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableStringXmlSchema" with "NullableString" ! // because VSDesigner use it as type-name in the auto-generated WS client Proxy ! // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with ! // other types in NullableTypes // *************** *** 324,329 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableSingle" type="xs:string" nillable="true" /> --- 328,333 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableStringXMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableStringXMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableSingle" type="xs:string" nillable="true" /> *************** *** 339,345 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableStringXmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 343,349 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableString"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableStringXMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; Index: Types.csproj =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/Types.csproj,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** Types.csproj 7 Oct 2003 20:35:25 -0000 1.16 --- Types.csproj 8 Dec 2003 21:57:27 -0000 1.17 *************** *** 2,7 **** <CSHARP ProjectType = "Local" ! ProductVersion = "7.0.9466" ! SchemaVersion = "1.0" ProjectGuid = "{5AE18977-9F9F-460E-86F5-E42668CDFE9E}" > --- 2,7 ---- <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.3077" ! SchemaVersion = "2.0" ProjectGuid = "{5AE18977-9F9F-460E-86F5-E42668CDFE9E}" > *************** *** 17,21 **** --- 17,24 ---- DelaySign = "false" OutputType = "Library" + PreBuildEvent = "" + PostBuildEvent = "" RootNamespace = "NullableTypes" + RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > *************** *** 31,34 **** --- 34,39 ---- FileAlignment = "4096" IncrementalBuild = "true" + NoStdLib = "false" + NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" *************** *** 49,52 **** --- 54,59 ---- FileAlignment = "4096" IncrementalBuild = "false" + NoStdLib = "false" + NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" |
From: <luk...@us...> - 2003-12-08 21:57:30
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Tests In directory sc8-pr-cvs1:/tmp/cvs-serv8251/src/Tests Modified Files: Tests.csproj Log Message: Index: Tests.csproj =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/Tests.csproj,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** Tests.csproj 7 Oct 2003 20:35:25 -0000 1.25 --- Tests.csproj 8 Dec 2003 21:57:27 -0000 1.26 *************** *** 2,7 **** <CSHARP ProjectType = "Local" ! ProductVersion = "7.0.9466" ! SchemaVersion = "1.0" ProjectGuid = "{8DB091D8-6E01-4566-8CD2-B918CB8D1391}" > --- 2,7 ---- <CSHARP ProjectType = "Local" ! ProductVersion = "7.10.3077" ! SchemaVersion = "2.0" ProjectGuid = "{8DB091D8-6E01-4566-8CD2-B918CB8D1391}" > *************** *** 17,21 **** --- 17,24 ---- DelaySign = "false" OutputType = "Library" + PreBuildEvent = "" + PostBuildEvent = "" RootNamespace = "NullableTypes.Tests" + RunPostBuildEvent = "OnBuildSuccess" StartupObject = "" > *************** *** 31,34 **** --- 34,39 ---- FileAlignment = "4096" IncrementalBuild = "true" + NoStdLib = "false" + NoWarn = "" Optimize = "false" OutputPath = "bin\Debug\" *************** *** 49,52 **** --- 54,59 ---- FileAlignment = "4096" IncrementalBuild = "false" + NoStdLib = "false" + NoWarn = "" Optimize = "true" OutputPath = "bin\Release\" |
From: <luk...@us...> - 2003-12-08 21:53:19
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Types In directory sc8-pr-cvs1:/tmp/cvs-serv7954/src/Types Modified Files: NullableByte.cs Log Message: Index: NullableByte.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableByte.cs,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** NullableByte.cs 7 Oct 2003 20:23:45 -0000 1.17 --- NullableByte.cs 8 Dec 2003 21:53:16 -0000 1.18 *************** *** 18,21 **** --- 18,25 ---- // 07-Ott-2003 Luca Upgrade Applied FxCop guideline: in XmlWriter the call to ToString() changed // a call to XmlConvert.ToString() and made symmetric call in XmlRead + // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableByteXmlSchema" with "NullableByte" + // because VSDesigner use it as type-name in the auto-generated WS client Proxy + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with + // other types in NullableTypes // *************** *** 185,190 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableByte" type="xs:unsignedByte" nillable="true" /> --- 189,194 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableByteXMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableByteXMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableByte" type="xs:unsignedByte" nillable="true" /> *************** *** 200,206 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableByteXmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 204,210 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableByte"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableByteXMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; |
From: <luk...@us...> - 2003-12-08 21:48:45
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Tests In directory sc8-pr-cvs1:/tmp/cvs-serv6601/src/Tests Modified Files: NullableBooleanTest.cs NullableByteTest.cs NullableDateTimeTest.cs NullableDecimalTest.cs NullableDoubleTest.cs NullableInt16Test2.cs NullableInt32Test.cs NullableInt64Test.cs NullableSingleTest.cs NullableStringTest.cs Log Message: Index: NullableBooleanTest.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableBooleanTest.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** NullableBooleanTest.cs 7 Oct 2003 20:23:45 -0000 1.13 --- NullableBooleanTest.cs 8 Dec 2003 21:48:41 -0000 1.14 *************** *** 16,19 **** --- 16,20 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 1122,1125 **** --- 1123,1127 ---- } + private NullableBoolean XmlSerializeDeserialize(NullableBoolean x) { sysXml.Serialization.XmlSerializer serializer = *************** *** 1172,1176 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 1174,1178 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableBooleanXMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableByteTest.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableByteTest.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** NullableByteTest.cs 7 Oct 2003 20:23:45 -0000 1.8 --- NullableByteTest.cs 8 Dec 2003 21:48:41 -0000 1.9 *************** *** 16,19 **** --- 16,20 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 46,49 **** --- 47,51 ---- } + #region Field Tests - A# [nu.Test] *************** *** 1084,1088 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 1086,1090 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableByteXMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableDateTimeTest.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableDateTimeTest.cs,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** NullableDateTimeTest.cs 7 Oct 2003 20:23:45 -0000 1.10 --- NullableDateTimeTest.cs 8 Dec 2003 21:48:41 -0000 1.11 *************** *** 16,19 **** --- 16,20 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 552,555 **** --- 553,557 ---- } + [nu.Test] public void XmlSerializableSchema() { *************** *** 582,586 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 584,588 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableDateTimeXMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableDecimalTest.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableDecimalTest.cs,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** NullableDecimalTest.cs 7 Oct 2003 20:23:45 -0000 1.15 --- NullableDecimalTest.cs 8 Dec 2003 21:48:41 -0000 1.16 *************** *** 20,23 **** --- 20,24 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 1283,1287 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 1284,1288 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableDecimalXMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableDoubleTest.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableDoubleTest.cs,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** NullableDoubleTest.cs 7 Oct 2003 20:23:45 -0000 1.14 --- NullableDoubleTest.cs 8 Dec 2003 21:48:41 -0000 1.15 *************** *** 20,23 **** --- 20,24 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 1027,1031 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 1028,1032 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableDoubleXMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableInt16Test2.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableInt16Test2.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** NullableInt16Test2.cs 7 Oct 2003 20:23:45 -0000 1.7 --- NullableInt16Test2.cs 8 Dec 2003 21:48:41 -0000 1.8 *************** *** 15,18 **** --- 15,19 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 1192,1196 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 1193,1197 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableInt16XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableInt32Test.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableInt32Test.cs,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** NullableInt32Test.cs 7 Oct 2003 20:23:45 -0000 1.8 --- NullableInt32Test.cs 8 Dec 2003 21:48:41 -0000 1.9 *************** *** 15,18 **** --- 15,19 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 1189,1193 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 1190,1194 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableInt32XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableInt64Test.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableInt64Test.cs,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** NullableInt64Test.cs 7 Oct 2003 20:23:45 -0000 1.5 --- NullableInt64Test.cs 8 Dec 2003 21:48:41 -0000 1.6 *************** *** 15,18 **** --- 15,19 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 1175,1179 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 1176,1180 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableInt64XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableSingleTest.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableSingleTest.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NullableSingleTest.cs 7 Oct 2003 20:23:45 -0000 1.12 --- NullableSingleTest.cs 8 Dec 2003 21:48:41 -0000 1.13 *************** *** 18,21 **** --- 18,22 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 995,999 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 996,1000 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableSingleXMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); Index: NullableStringTest.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Tests/NullableStringTest.cs,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** NullableStringTest.cs 7 Oct 2003 20:23:45 -0000 1.11 --- NullableStringTest.cs 8 Dec 2003 21:48:41 -0000 1.12 *************** *** 16,19 **** --- 16,20 ---- // 06-Ott-2003 Luca Upgrade New test: XmlSerializableSchema // Code upgrade: Replaced tabs with spaces and removed commented out code + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to reflect changes in the target type // *************** *** 814,818 **** doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/XMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); --- 815,819 ---- doc.Load(stream); sysXml.XmlAttribute defaultNs = doc.CreateAttribute("xmlns"); ! defaultNs.Value = "http://NullableTypes.SourceForge.Net/NullableStringXMLSchema"; doc.DocumentElement.Attributes.Append(defaultNs); |
From: <luk...@us...> - 2003-12-08 21:48:45
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Types In directory sc8-pr-cvs1:/tmp/cvs-serv6601/src/Types Modified Files: NullableBoolean.cs Log Message: Index: NullableBoolean.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableBoolean.cs,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** NullableBoolean.cs 1 Dec 2003 12:26:57 -0000 1.21 --- NullableBoolean.cs 8 Dec 2003 21:48:41 -0000 1.22 *************** *** 21,24 **** --- 21,29 ---- // 06-Oct-2003 Luca Upgrade Code upgrade: Replaced tabs with spaces and removed commented out code // 22-Oct-2003 Luca Upgrade New requirement: Xor and operator^ marked 'obsolete' + // 06-Dic-2003 Luca Bug Fix Replaced Xml Schema id "NullableBooleanXmlSchema" with "NullableBoolean" + // because VSDesigner use it as type-name in the auto-generated WS client Proxy + // 06-Dic-2003 Luca Bug Fix Replaced Target Namespace for Xml Schema to avoid duplicate namespace with + // other types in NullableTypes + // 08-Dic-2003 Luca Bug Fix Replaced ReadString() with ReadElementString() in IXmlSerializable.ReadXml // *************** *** 216,221 **** // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/XMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/XMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableBoolean" type="xs:boolean" nillable="true" /> --- 221,226 ---- // <?xml version="1.0"?> // <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" ! // targetNamespace="http://NullableTypes.SourceForge.Net/NullableBooleanXMLSchema" ! // xmlns="http://NullableTypes.SourceForge.Net/NullableBooleanXMLSchema" // elementFormDefault="qualified"> // <xs:element name="NullableBoolean" type="xs:boolean" nillable="true" /> *************** *** 231,237 **** // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableBooleanXmlSchema"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/XMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; --- 236,242 ---- // Xml Schema sysXmlScm.XmlSchema xsd = new sysXmlScm.XmlSchema(); ! xsd.Id = "NullableBoolean"; xsd.Namespaces.Add("xs", "http://www.w3.org/2001/XMLSchema"); ! xsd.TargetNamespace = "http://NullableTypes.SourceForge.Net/NullableBooleanXMLSchema"; xsd.Items.Add(rootElement); xsd.ElementFormDefault = sysXmlScm.XmlSchemaForm.Qualified; *************** *** 271,275 **** void sysXmlSrl.IXmlSerializable.ReadXml(sysXml.XmlReader reader) { if (!reader.IsEmptyElement) { ! _value = (sbyte)(sysXml.XmlConvert.ToBoolean(reader.ReadString()) ? 1 : -1); } else --- 276,280 ---- void sysXmlSrl.IXmlSerializable.ReadXml(sysXml.XmlReader reader) { if (!reader.IsEmptyElement) { ! _value = (sbyte)(sysXml.XmlConvert.ToBoolean(reader.ReadElementString()) ? 1 : -1); } else |
From: <luk...@us...> - 2003-12-08 21:48:44
|
Update of /cvsroot/nullabletypes/NullableTypes/src In directory sc8-pr-cvs1:/tmp/cvs-serv6601/src Modified Files: NullableTypes.sln Log Message: Index: NullableTypes.sln =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/NullableTypes.sln,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NullableTypes.sln 6 May 2003 14:17:13 -0000 1.3 --- NullableTypes.sln 8 Dec 2003 21:48:41 -0000 1.4 *************** *** 1,13 **** ! Microsoft Visual Studio Solution File, Format Version 7.00 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Types", "Types\Types.csproj", "{5AE18977-9F9F-460E-86F5-E42668CDFE9E}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{8DB091D8-6E01-4566-8CD2-B918CB8D1391}" EndProject Global GlobalSection(SolutionConfiguration) = preSolution ! ConfigName.0 = Debug ! ConfigName.1 = Release ! EndGlobalSection ! GlobalSection(ProjectDependencies) = postSolution EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution --- 1,15 ---- ! Microsoft Visual Studio Solution File, Format Version 8.00 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Types", "Types\Types.csproj", "{5AE18977-9F9F-460E-86F5-E42668CDFE9E}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{8DB091D8-6E01-4566-8CD2-B918CB8D1391}" + ProjectSection(ProjectDependencies) = postProject + EndProjectSection EndProject Global GlobalSection(SolutionConfiguration) = preSolution ! Debug = Debug ! Release = Release EndGlobalSection GlobalSection(ProjectConfiguration) = postSolution |
From: <luk...@us...> - 2003-12-01 12:27:01
|
Update of /cvsroot/nullabletypes/NullableTypes/src/Types In directory sc8-pr-cvs1:/tmp/cvs-serv21578/src/Types Modified Files: INullable.cs NullableBoolean.cs Log Message: Index: INullable.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/INullable.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** INullable.cs 7 Oct 2003 20:32:22 -0000 1.6 --- INullable.cs 1 Dec 2003 12:26:57 -0000 1.7 *************** *** 14,21 **** /// All of the NullableTypes objects and structures implement the INullable /// interface, reflecting the fact that, unlike the corresponding system types, ! /// NullebleTypes can legally contain the value Null. /// </summary> /// <remarks> ! /// A Null is the absence of a value because missing, unknown, or inapplicable /// value. A Null should not be used to imply any other value (such as zero). /// Also any value (such as zero) should not be used to imply the absence of a --- 14,21 ---- /// All of the NullableTypes objects and structures implement the INullable /// interface, reflecting the fact that, unlike the corresponding system types, ! /// NullableTypes can legally contain the value Null. /// </summary> /// <remarks> ! /// A Null is the absence of a value because of a missing, unknown, or inapplicable /// value. A Null should not be used to imply any other value (such as zero). /// Also any value (such as zero) should not be used to imply the absence of a Index: NullableBoolean.cs =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/src/Types/NullableBoolean.cs,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** NullableBoolean.cs 22 Oct 2003 01:45:05 -0000 1.20 --- NullableBoolean.cs 1 Dec 2003 12:26:57 -0000 1.21 *************** *** 628,632 **** /// </returns> [sys.Obsolete("Operator^ is not intuitive, is ambiguous and is not defined by the NULL semantic. " + ! "Use explicit expression ((x || y) && !(x && y)) instead of operator^.", true)] public static NullableBoolean operator ^ (NullableBoolean x, NullableBoolean y) { if (x.IsNull || y.IsNull) --- 628,632 ---- /// </returns> [sys.Obsolete("Operator^ is not intuitive, is ambiguous and is not defined by the NULL semantic. " + ! "Use explicit expression ((x || y) && !(x && y)) instead of operator^.", false)] public static NullableBoolean operator ^ (NullableBoolean x, NullableBoolean y) { if (x.IsNull || y.IsNull) |
From: <luk...@us...> - 2003-12-01 12:27:00
|
Update of /cvsroot/nullabletypes/NullableTypes In directory sc8-pr-cvs1:/tmp/cvs-serv21578 Modified Files: ReadMe.txt Log Message: Index: ReadMe.txt =================================================================== RCS file: /cvsroot/nullabletypes/NullableTypes/ReadMe.txt,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ReadMe.txt 30 Oct 2003 03:05:51 -0000 1.13 --- ReadMe.txt 1 Dec 2003 12:26:57 -0000 1.14 *************** *** 8,12 **** 3. NULLABLETYPES ASSEMBLY 4. .NET AND VS.NET VERSIONS ! 5. NULLABLETYPES Vs SQLTYPES 6. OVERWHELMING TYPING 7. THANKS TO --- 8,12 ---- 3. NULLABLETYPES ASSEMBLY 4. .NET AND VS.NET VERSIONS ! 5. NULLABLETYPES FAQ 6. OVERWHELMING TYPING 7. THANKS TO *************** *** 88,110 **** ! 5. NULLABLETYPES Vs SQLTYPES ! =============================== ! Specific .NET Data Provider types (as System.Data.SqlTypes, System.Data.OracleCient, etc) fit well in the ! Data Layer: where you are moving data from the Db (with a DataAdapter or with a DataCommand) to the memory ! (DataSet, variables, Array, etc.) and vice versa. ! This is because .NET Data Provider types better represent the native Db types (i.e. SqlDateTime have ! MinValue and MaxValue different from System.DateTime; SqlDecimal can set Scale and Precision while ! System.Decimal cannot, etc). ! NullableTypes fit well in the Business Layer and in the User Interface Layer because ! * they are data base agnostic ! * they are identical to the native .NET types (i.e. NullableDateTime have MinValue and MaxValue equals to ! System.DateTime MinValue and MaxValue, etc.) ! * they work well with .NET Remoting ! * they work well with .NET Web Services ! * they have the NullConvertClass that can be used to seamlessly integrate NullableTypes with Windows and ! ASP.NET user controls ! * they have the DbNullCOnvert class that converts NullableTypes values to in-memory Db values ! (Command Parameters, DataReader values, DataSet column values) and vice versa --- 88,100 ---- ! 5. NULLABLETYPES FAQ ! ======================= ! What about NullableTypes and SqlTypes (or other nullable types provided by the .NET Data Provider, as the ! structures in System.Data.OracleClient or types in Oracle.DataAccess.Types)? ! What about NullableTypes and Nullable<T> (Whidbey)? ! ! Find the answer here: ! http://nullabletypes.sourceforge.net/#faq *************** *** 162,166 **** and to those MS developers who are on the bright-side and developed the FxCop tool. The mono project source code too was a good inspiration, especially mono's SqlTypes implementation. ! Well, nmake and emacs with C# extension by Brad Merrill are great but I have to admit that Visual Studio .NET did his job well. --- 152,156 ---- and to those MS developers who are on the bright-side and developed the FxCop tool. The mono project source code too was a good inspiration, especially mono's SqlTypes implementation. ! Well, nmake and emacs with C# extensions by Brad Merrill are great but I have to admit that Visual Studio .NET did his job well. *************** *** 181,184 **** --- 171,190 ---- Visit project home-page for more details: http://nullabletypes.sourceforge.net + + + --- + If you use CodeSmith (http://www.ericjsmith.com/codesmith) you may be interested in these templates: + + * Use NullableTypes in a C# stored procedure wrapper + http://www.ericjsmith.net/codesmith/forum/?f=9&m=1622 + Author: Oskar Austegard + + * Tip/Trick + http://www.ericjsmith.net/codesmith/forum/?f=11&m=1270 + Author: Damien Guard + + Let me know if you find more. + + --- |