Re: couple of questions

[email protected] Tue, 9 Mar 2004 23:05:13 +0100 (MET)
Newsgroups gmane.comp.lib.sql.sqlpp
Message-ID <[email protected]>
Hi, answers are inlined. I have updated a new version 
of sqlpp (v2.10) that fixes bugs related to 
NullableTypes.

> Hallo again!
> I have a couple of questions to the sqlpp framework.

Just ask :)
 
> I compile the wikki database successful :)
> Now I try to use the generated wikki classes with a 
c# project.
> I found out that I have to implement NullableTypes-
1.0.dll and
> ApplicationBlocks.Data.dll to run the project.

Yes, nullabletypes is a very handy project for 
handling Null values. I 

> After this, the beduger don't find the CacheManager. 
As soon as I know
> ASP.NET |(System.Web.Caching.Cache) |provides || 
this class.

I have add cache.config which is an example of how you 
can configure the Cache application block. If you want 
to generate the DAL for a web server, you can disable 
the use of the Cache block by using 
cs_generator::set_using_web_cache(true)


> I have difficults understanding this. I will not use 
ASP.NET.
> In the wiki generator file the cs_generator instead 
of aspnet_generator is used, too.
> Have you an advice ?

The asp_generator generates basic forms for the table, 
nothing very useful.
 
> What is mapped in the dbshema.dot file?

It is the database schema in the dot language (see 
graphviz on the web)
 
> What the flags in wiki_generator.cpp file doing?
> cs.set_using_data_reader(false);

create methods that return datareaders

> cs.set_using_data_set(false);

create methods that return dataset

> cs.set_using_xml_reader(false);

create methods that return xml_reader
> cs.set_using_facade(false);

not used yet.
 
> Do I need the lines only for the aspnet_generator ?
> cs.add_connection(conn);

maybe not

> cs.set_exception_handler("Controls.Add(new 
LiteralControl(\"<br/>\" +
> ex.ToString()));");

surely not.
 
> Thank you!
> Tomek
> 
> 
> 
> 
> -----------------------------------------------------
--
> This SF.Net email is sponsored by: IBM Linux 
Tutorials
> Free Linux tutorial presented by Daniel Robbins, 
President and CEO of
> GenToo technologies. Learn everything from 
fundamentals to system
> administration.http://ads.osdn.com/?
ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> Sqlpp-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sqlpp-
devel
> 


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click