Oh, ok. It seems that I haven't really understood the difference
between SQL Azure and Azure Table storage. Now I know. SQL Azure is
just like any other relational SQL server, while Azure Table Storage
is very alike Google AppEngine's Datastore.

All these hours for such a simple answer. :(

Thanks anyway. :)

On 7 Okt, 17:42, Fabio Maulo <[email protected]> wrote:
> emh.... SQL-Azure is not in Azure-Storage.
> You can use NHibernate to connect to a SQL-Azure server not to
> Azure-Storage.
>
>
>
>
>
> On Thu, Oct 7, 2010 at 12:02 PM, Tomas Alaeus <[email protected]> wrote:
> > Firstly: This is my first time using databases in general together
> > with C#.
>
> > I've done some work on an Google AppEngine application which uses
> > Spring MVC and I'm now supposed to port this to Microsoft Windows
> > Azure. My first attempt was to utilize Spring and NHibernate for
> > maximum awesomeness. I've tried that now for a couple of days, but
> > failed. I then skipped Spring and focused on NHibernate instead just
> > to get something up and running.
>
> > local development storage. Everyone says I'm just supposed to use the
> > connection string "UseDevelopmentStorage=true", but inserting that
> > into the configfile will just generate this error:
> > "ArgumentException,
> > Keyword not supported: usedevelopmentstorage."
> > On the line:
> > "sessionFactory = cfg.BuildSessionFactory();"
>
> > My hibernate.cfg.xml looks like this:
> > <?xml version="1.0" encoding="utf-8" ?>
> > <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2">
> >  <session-factory>
> >    <property
> > name="connection.provider">NHibernate.Connection.DriverConnectionProvider</
> > property>
> >    <property name="dialect">NHibernate.Dialect.MsSql2008Dialect</
> > property>
> >    <property
> > name="connection.driver_class">NHibernate.Driver.SqlClientDriver</
> > property>
> >    <property
> > name="connection.connection_string">UseDevelopmentStorage=true</
> > property>
>
> >    <property
>
> > name="proxyfactory.factory_class">NHibernate.ByteCode.Castle.ProxyFactoryFa­ctory,
> > NHibernate.ByteCode.Castle</property>
> >    <property name="show_sql">true</property>
> >  </session-factory>
> > </hibernate-configuration>
>
> > What am I doing wrong?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "nhusers" group.
> > To post to this group, send email to [email protected].
> > To unsubscribe from this group, send email to
> > [email protected]<nhusers%[email protected]­>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/nhusers?hl=en.
>
> --
> Fabio Maulo

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to