NullableTypes ReadMe.txt,1.13,1.14
Status: Inactive
Brought to you by:
lukadotnet
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. + + --- |