- Start the OpenESQL Assistant. 
                  		
               
  
               		
               - Connect to a data source. 
                  		
               
  
               		
               - Check the box next to a table name. 
                  		
               
  
               		
               - Click 
                  		  Generate DCLGEN. 
                  		
               
  
               	 
            
 
            	 
            Note:  This feature is available only when you set the following Visual Studio options for OpenESQL Assistant as follows: 
               		
               
 
                  		  
                  - Mode option set to 
                     			 ADO.NET 
                     		  
                  
  
                  		  
                  - Generate option set to EXEC ADO - disconnected model