LINQ Code generator






2.12/5 (15 votes)
This generates Basic linq codes just by giving necessary inputs
Introduction
LINQ code generator is simple application which generates SQl based LINQ codes by taking some inputs. As LINQ is new to many developers This basic generator is used to generate and test basic Sql based LINQ codes in less than Minutes.
Background
as i started working on LINQ,I came to a very strong conclusion that LINQ has great future.But found it needs more changes still to be done by microsoft.
Using the code
The code usage for this is very simple We have category called LINQ here for it we have sub category LINQ with SQL under that sub category we have Insert Update Delete Select Selecting any option post backs page and give some text boxes to take some inputs just enter the required inputs now clik on generate code button code will be then generated copy code and paste it your application. with this generator forms like registration forms etc can be done simply in mins.we an also show results in grid.we can show results based on conditions etc., in order to not to deviate begineers confidence levels i tried to develop this generator with minimum options and left many more options for future.
Basic Bug to be fixed is change version from 2.0 to 3.5 in web.config before running beta.
"System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> "System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> "System.Data.DataSetExtensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> "System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> "System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
I used MS Access Database to develop Code. The final code generated need a dbml file. How to create dbml file : Create a sql database and tables in it. now add a new item , dbml file a new datacontext open design view of dbml file now drag and drop your sql database tables to dbml design area its user friendly to make relations and all there it self. generated code need a dbml file in its default path.
I Used vb code to generate LINQ code.
Requirements are being added to database table and retrieved while taking inputs to generate code.
Points of Interest
Working with VS2008 beta mad me mad fr nearly 7-10 days. donno y i got mad initially in many angles. i donno i should name the problems as bugs or suggessions but they made me really feel that "some thing has gone wrong with Microsoft " Some Pretty Things(I donno if i should call as bugs) i found to suggest
History
Even this code developer is simple smart application for confidence building. i came across all Linq Applications and found the advantages of using LINQ.