Search Results

SmartCodeGenerator UIProperty for ArrayList of Strings by shahed

Note: If you are not familiar with writing UIProperty for SmartCodeGenerator please read this tutorial blog first: http://community.smartcodegenerator.com/blogs/team_blog/archive/2006/12/02/introducing-new-uiproperty-in-smartcodegenerator.aspx I recently got a request to be able to handle ArrayList defined...

SmartCodeGenerator with NAnt and Cassini - Please vote. by shahed

I have uploaded SmartCodeGenerator 2.7.0 today. This release ships with scg_console.exe which integrates NAnt and Cassini with SmartCodeGenerator development cycle. I have also uploaded a new article at CodeProject demonstrating "How to use SCG along with NAnt and Cassini ." Smart Code Generator: Code...

Example SmartCodeGenerator: BusinessObjectGenerator by shahed

While browsing the internet I found this article “ Business Object for CodeSmith ” by JR Hull, this comes with some CodeSmith templates that generates object layer, data access layer, and related sql from a schema defined in the XML. I thought this will be a good and quick example to show for SCG where...

SmartCodeGenerator CTP2.6 Uploaded and 2 articles at Code Project by shahed

SmartCodeGenerator fans the CTP 2.6.0 has been uploaded to CodePlex . This latest version remembers the entered values on the custom properties and does not require you to retype the property values repeatedly everytime you run the application. I hope this will make codegeneration and debugging experience...

Running SmartCodeGenerator Projects with Cassini by shahed

With Cassini SCG Projects can be distributed very easily. Cassini is a mini web server written with 100% managed code C#, moreover Cassini is free. Cassini requires as an operating system either Windows 2000 or Windows XP; furthermore, the .NET Framework must also be installed. I am not going into further...

Check out this Article for Xml based codegeneration with SCG by shahed

I uploaded this new article in the Unedited Section of CodeProject. Abstract This article describes how we can use XML as a metadata source for SCG Templates. It also shows step-by-step instructions of how to generate strongly typed objects from XSD and use it in the templates to generate text based...

Reflection Tips: Generate Mock objects for Test Cases. by shahed

Filling up Mock objects with random data is possibly one of the most time consuming and boring chapter of writing test cases. Let say we have the following classes and we want to write some mock objects. Mock Object Code Example private Client GetMockClient() { Client Client1 = new Client(); Client1...

An alternative approach to XSLT with ASP.NET scripts by shahed

XSL stands for Extensible Stylesheet Language (OR XSL = Xml Style Sheet) and XSLT is the language to transform XML documents. Its a common practice to use XSLT to to transform an XML document into another XML document, or another type of document that is recognized by a browser, like HTML and XHTML....
Powered by Community Server (Commercial Edition), by Telligent Systems