[Mono-list] Npgsql.dll

Chris Aitken chris at ion-dreams.com
Mon Jun 20 06:48:48 EDT 2005


> I have everything working now.  If you look on my home page, 
> you'll see a hit counter that uses 8 stored procedures, 
> create, update, delete, get_details, get_count, get_id, 
> get_table, get_totals.  It tracks each IP address separately, 
> which you can't see by looking at the home page.  It gets 
> instantiated in the global.asax.cs file in the session_start section.
> The code is broken into three sections: (1) the ADO.NET layer 
> converts all of the stored procedures into function calls; 
> (2) the configuration layer reads the connection string from 
> an XML file; and (3) the business layer uses the ADO.NET and 
> configuration layer to actually do the calculations.
> I'm feeling like I have a good handle on this now, so I'll 
> start to build some more complex structures.
> 
> Yes, the input parameters inside the function calls in the 
> ADO.NET layer need single quotes around the strings and 
> nothing around the integers.

Well done! Seems to load a little quicker than when I last looked at it.

Chris


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Mono-list mailing list