Subsonic - Active Records Does Not Capture All My Tables

I have a simple simple database with 8 tables:

  • activity
  • Classes
  • Companies
  • Computers
  • Customers
  • Services
  • Users
  • Vendors

but whenever I include TT files for Subsonic, it seems that they only create classes for my two tables, classes and clients.

What is the reason for this and how to fix it?

Configuration for SubSonic:

const string Namespace = "SimpleTimerDatabase.Data";
const string ConnectionStringName = "SimpleTimerDatabase.Properties.Settings.QTimerConnectionString";

//This is the name of your database and is used in naming
//the repository. By default we set it to the connection string name
const string DatabaseName = "QTimer";

And my String connection:

<connectionStrings>
    <add name="SimpleTimerDatabase.Properties.Settings.QTimerConnectionString"
        connectionString="Data Source=THESTUDIO\SQLEXPRESS;Initial Catalog=QTimer;Integrated Security=True"
        providerName="System.Data.SqlClient" />
</connectionStrings>
+3
source share
2 answers

Subsonic does not check column names, so when I had a column called "class" and another called "1099", the auto-generated code could not compile because these are invalid identifiers.

0
source

? " " , , ?

0

All Articles