Subsonic Tools For Visual Studio 2012
%20-%20Microsoft%20Visual%20Studio%20(6)_2.png)

Far Cry 4 W/ Dlcs Repack. Download Ultra Pandora Installer V 4 C. Oct 17, 2012 SQL Server Data Tools & VS2010 / VS2012 Details. SSDT also shipped with Visual Studio 2012. In Visual Studio 2012. Download SubSonic Tools for Visual Studio Description. The SubSonic Tools integrate the SubSonic code-generation features in Visual Studio 2005.
• Introduction In a typical data driven application, you can expect to spend at least 40-50% of your time writing the 'CRUD' code (Create, Read, Update, and Delete). In order to loosely couple your application code with the database, you will probably want to create a DAL (Data Access Layer). Unfortunately, writing a DAL can be very time consuming. Especially if you are working on a project where the data model is constantly evolving. Well, lucky for us, there is. Screaming Trees Last Words Rar. SubSonic is an Open Source tool built for.NET that will automatically build your DAL with a few simple steps.
Building the DAL • The first task is to download and install from. • Open up Visual Studio 2005 and create a new project. Choose Visual C# -->Windows -->Windows Control Library.
• Once the project is created, you need to add three references. The first is to SubSonic.dll. If you did a default install, then this should be located at C: Program Files SubSonic SubSonic 2.0.3 SubSonic.dll.
You will also need a reference to System.Web (unfortunately, this is a requirement) and System.Configuration. • Now, you need to add an application configuration file. In the config file, you will need to add a connection string, a config section, and a provider section. Here is sample 'SubSonic' configuration file: Note: You can change the default namespace by modifying the generatedNamespace attribute.• Add a new folder to the solution with the name ' Generated'. This is where all of the generated code will get created.
Although it is not required to add this folder, it is definitely recommended. The folder is nice to have because once you are happy with the data model and the resulting code, you can move it into a separate folder that will be your 'production ready' code. Since SubSonic is a code generation tool, you may choose to generate the files a few times and keep overwriting the source files in the ' Generated' folder without affecting the 'production ready' files. When the files are generated, they do not get automatically included into the library, so having this extra folder filled with files will not bloat your DLL. This is because Visual Studio will ignore files that are not included in the project, and therefore those files will not get compiled into the assembly.
• Now, it is time to run sonic.exe. If you did a default install, sonic.exe will be located at C: Program Files SubSonic SubSonic 2.0.3 SubCommander sonic.exe. The easiest way to run sonic.exe is to add it as an external tool to your VS2005 environment. This can be done by going to Tools-->External Tools and clicking on the 'Add' button. In the Title field, I entered 'SubSonic DAL', but you can name it whatever you like. In the command field, enter in the path to the sonic.exe. In the Arguments field, enter in 'generate /out Generated'.
This means that all generated code will get created in the folder named Generated that we created in the previous step. Finally, set the Initial Directory to '$(ProjectDir)'. Also check the 'Use Output Window' and the 'Prompt for Arguments' checkboxes. Click the 'OK' button to close out the dialog. • Now, for the moment of truth.