Difference between a base class and base table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2015 07:49 PM
What is the difference between a base class and base table?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2015 08:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2015 08:39 PM
I saw that article, but I have seen people saying that we have two base tables in the snow which are - task and cmdb_ci.
Now I have started learning cmdb, and so I was just wondering about the definition for the base class ( the class itself is not extended, but can be extended). I navigated to the suggested relationships and there I saw the mapping between the base classes and the depedent classes. I just wanted to know why are we calling the "Application" class a base table as it alrady extends the cmdb_ci table.
This is quite confusing to me

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2015 08:46 PM
I'm not sure where the Application table is referred to as a base table, because it isn't. The base table is 'cmdb_ci' (which is also the base class). They are one and the same.
The application table extends the base table (cmdb_ci), therefore it cannot be the base table. However, the application table (like other tables) can be extended from even though it extends something else.
'task' and 'cmdb_ci' are both base tables (and base classes).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2015 08:58 PM
Okay Mark, thanks for the explanation.
One more question, as per the definition of a base class - can I call my custom table(u_axis) a base class/table (as it doesn't extend any table but some of the other custom tables are extending the u_axis.)