Takes you through the steps required to set up the OOSqlBookDemoWebApplication Visual Studio solution used in this tutorial.
                  
                  	  
               
            
 
            	 
            
               Create the OOSqlBookDemoWebApplication solution and project
 
               		 
               		
                In this procedure, you create the OOSqlBookDemoWebApplication solution and project, which contains skeleton versions of the
                  files listed in the 
                  		  Demonstration Solution section. 
                  		
               
 
               		
               
                  			
                  		  
                  - In Visual Studio, click 
                        			 . 
                     		
                  
  
                  		  
                  - In the 
                        				New Project dialog box, expand 
                        				. 
                     		  
                  
  
                  		  
                  - Click the 
                     			 Web category. 
                     		  
                  
  
                  		  
                  - In the center pane, select 
                     			 ASP.NET Web Application. 
                     		  
                  
  
                  		   
                  		  
                  - Complete the fields as follows: 
                     			 
                     
                         
                           				   
                           				   
                           				  
                            
                              					 
                               
                                 						
                                 | Name 
                                    						
                                  |  
                                 						
                                  
                                    						  OOSqlBookDemoWebApplication 
                                    						
                                  |  
                                 					 
                              
 
                              					 
                               
                                 						
                                 | Location 
                                    						
                                  |  
                                 						
                                 c:\tutorials\SQL 
                                    						
                                  |  
                                 					 
                              
 
                              					 
                               
                                 						
                                 | Solution Name 
                                    						
                                  |  
                                 						
                                  
                                    						  OOSqlBookDemoWebApplication 
                                    						
                                  |  
                                 					 
                              
 
                              					 
                               
                                 						
                                 | Framework 
                                    						
                                  |  
                                 						
                                 Choose the appropriate .NET Framework version from the drop-down list. 
                                    						  
                                     Note: Must be version 4.5 or later. 
                                       						  
                                      
                                    						
                                  |  
                                 					 
                              
 
                              				  
                            
                           				
                        
                       
                     		  
                    
                  		  
                  - Uncheck 
                        				Create directory for solution. 
                     		  
                  
  
                  		  
                  - Click 
                     			 OK. 
                     		  
                  
  
                  		
               
 
               	 
              
            	  
            	 
            	 
            
               Add existing projects
 
               		
               		
               We provide the 
                  		  OOSqlBookWrapper and 
                  		  OOSqlLegacyBook projects for you to add to the solution. These contain application source code and references. 
                  		
               
 
               		
                
                  		  
                  - In the 
                     			 Solution Explorer, right-click the solution; then select 
                     			 Add > Existing Project. 
                     		  
                  
  
                  		  
                  - Browse to the 
                     			 %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\SQL\ado.net\OOSqlBookWrapper directory. 
                     		  
                  
  
                  		  
                  - Double-click the 
                     			 OOSqlBookWrapper COBOL project. 
                     		  
                  
  
                  		  
                  - Again, in the 
                     			 Solution Explorer, right-click the solution; then select 
                     			 Add > Existing Project. 
                     		  
                  
  
                  		  
                  - Browse to the 
                     			 %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\SQL\ado.net\OOSqlLegacyBook directory. 
                     		  
                  
  
                  		  
                  - Double-click the 
                     			 OOSqlLegacyBook COBOL project. 
                     		  
                  
  
                  		
               
 
               	 
              
            	 
            
               Add project references
 
               		 
               		
               The two projects you just added to the solution need to be incorporated by reference. Here you create a reference from the
                  
                  		  OOSqlBookDemoWebApplication project to the 
                  		  OOSqlBookWrapper and 
                  		  OOSqlLegacyBook projects. 
                  		
               
 
               		
                
                  		  
                  - In the 
                     			 Solution Explorer, right-click the 
                     			 OOSqlBookDemoWebApplication project; then select 
                     			 Add > Reference. 
                     		  
                  
  
                  		  
                  - In the left pane, click 
                     			 Projects. 
                     		  
                  
  
                  		  
                  - In the right pane, check 
                     			 OOSqlBookWrapper and 
                     			 OOSqlLegacyBook; then click 
                     			 OK. 
                     		  
                  
  
                  		
               
 
               	 
              
            	 
            
               Declare a Data Item
 
               		 
               		
                
                  		  
                  - In the 
                     			 Solution Explorer, open the 
                     			 Default.aspx.cbl file, located in the 
                     			 OOSqlBookDemoWebApplication project under the 
                     			 Default.aspx entry. 
                     		  
                  
  
                  		  
                  - Declare the 
                     			 my-book data item in the 
                     			 working-storage section as follows: 
                     			 
       01 my-book type OOSqlBookWrapper.SqlBook.
 
                     		    
                  		  
                  - Save and close the file. 
                     		  
                  
  
                  		
               
 
               	 
              
            	 
            
               Build the OOSqlBookDemoWebApplication Solution
 
               		 
               		
                
                  		  
                  - In the 
                     			 Solution Explorer, right-click the 
                     			 OOSqlBookDemoWebApplication solution; then select 
                     			 Build Solution from the context menu.