Using SubSonic 2.2, after DAL generation with sonic.exe, the AllStruct.cs content looks wrong:
// <auto-generated />
namespace ...DAL
{
#region Tables Struct
public partial struct Tables
{ ... }
#endregion
#region Schemas
public partial class Schemas
{ ... }
#endregion
#region View Struct
public partial struct Views
{ ... }
#endregion
#region Query Factories
public static partial class DB
{ ... }
#endregion
}
#region Databases
public partial struct Databases
{ ... }
#endregion
Is there any reason for placing the Databases region outside the namespace? If not, how can I correct it (I didn't find any templates for the generated code)?