I'm using the final version of 2.1.
I've redone my database and made some significant changes.
A couple of the more important ones are that I now have some columns which have a unique constraint, some other constraints where ID's rely on another table, etc. All of thise using SQL Server 2005. I'm also writing code for WinForms.
Before I made these changes, SubSonic would regen the database fine. Now it doesn't seem to finish generating the code, but doesn't yield any errors upon generation -- only when I load it in Visual Studio to compile.
It says that one of my tables already contains that definition.
I've looked, there is not duplicate table in the database and also not a duplicate column name in that table.
What's also weird is that it doesn't seem to be generating all the supporting methods such as MarkNew, Save, etc.
Here is my app.conf, with the names changes to protect the innocent :)
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="SubSonicService" type="SubSonic.SubSonicSection, SubSonic" requirePermission="false" />
</configSections>
<appSettings>
</appSettings>
<connectionStrings>
<clear />
<add name="Some_DAL"
connectionString="
Data Source=SomeServer;
Database=SomeDatabase;
Integrated Security=true;" />
</connectionStrings>
<SubSonicService defaultProvider="Some_DAL">
<providers>
<clear />
<add name="Some_DAL"
type="SubSonic.SqlDataProvider, SubSonic"
connectionStringName="Some_DAL"
generatedNamespace="Dingo.DAL" />
</providers>
</SubSonicService>
<compilation debug="true" defaultLanguage="C#" />
</configuration>