code sample uploaded to patches section as Northwind01_T4Sample

Aug 14, 2009 at 4:58 PM
Edited Aug 14, 2009 at 5:18 PM

Oleg (et al) --

There has been a code sample uploaded to patches section here http://t4toolbox.codeplex.com/SourceControl/PatchList.aspx as "Northwind01_T4Sample_200908141146.zip".

It is a simple, end-to-end, working sample, with a PresentationLayer and BusinessLayer, and etc.

It is not fully tested; but, it does seem to work fine as of now.

It uses a modified version of the Northwind database and SQL Server 2005 Express.

It uses custom-built T4 ToolBox template sets to generate code.

It uses Linq-To-Sql, and Linq-To-Sql-Entity-Base http://www.codeplex.com/LINQ2SQLEB , and a few other goodies.

It uses a Repository design-pattern, or something close to it, I think.

(SideBar -- I am having trouble categorizing the exact design patterns used, if any. If anyone can help with that, then please do so. See the code and/or see the thread here http://forums.asp.net/p/1458671/3346278.aspx#3346278 if you are interested and have a minute to help.)

Feel free to distribute this, use it, etc.

If anyone has any questions, comments, critique, etc-- then please send them along because I need help.

HTH.

Thank you.

-- Mark Kamoski

Aug 17, 2009 at 8:47 PM
Edited Aug 17, 2009 at 8:49 PM

All --

FYI, I have updated a code sample here...

http://t4toolbox.codeplex.com/SourceControl/PatchList.aspx

...as follows...

3612; Today at 9:57 AM; mkamoski; The file "Northwind01_T4Sample_200908170953.zip" contains the same code as "Northwind01_T4Sample_200908141146.zip" and it also has the Solution files that I forgot to include with teh previous version. Again, this is a fully-implemented, end-to-end sample that shows one way to use T4 templates and the T4 Toolbox http://www.codeplex.com/t4toolbox and Linq To Sql Entity Base http://www.codeplex.com/LINQ2SQLEB and a basic Repository pattern to make a simple proof-of-concept sample web site.

...so I HTH.

Thank you.

-- Mark Kamoski