From: <td...@te...> - 2004-03-11 15:33:28
|
Tank you for fast answer! I can use the generated wikki classes now :) I start with my own sample database with one table called 'bereich'. I notice that sqlpp create an extra file bereichFacade.cs. The wikki classes don't contain such xxFacade files. Do I need the bereichFacade class and for what is the Facade required? In bereichFacade the debugger can't find the type bereichDataTable -> protected bereichDataTable typedDataTable; Any idea? The bereichFacade impelents IComponent. Have I the possiblity to change some behavior at design time? Greetings Tomek jde...@ns... schrieb: >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. >> >> > > >>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 >>Sql...@li... >>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 >_______________________________________________ >Sqlpp-devel mailing list >Sql...@li... >https://lists.sourceforge.net/lists/listinfo/sqlpp-devel > > > |