Hello all:
I am almost finished (I guess 100 pages left on a 600 page book is almost) with Expert VB 2005 Business Objects. While I understand the individual concepts and procedures, grasping the entire framework as a whole has proved to be a challenge. The framework has come a long way since the VB6 book.
I work for a school and I am creating a BO layer to work with an existing records database. I have a person object that keeps all the properties that are common to all individuals in the database (eg FirstName, LastName, etc). This object inherits from ReadOnlyBase because my application cannot change the data in the database.
I would like to create a student object that inherits all the properties of the person object. My initial attempt was this:
<Serializable()> Public Class Student
Inherits Person
However, that does not work because Person does not have a public constructor and I know that creating one would break the shared factory method of creating objects. I'm sure I'm just missing something. Any help would be greatly appreciated.
Thanks,
Marcello Doanto
Christian Brothers HS
Copyright (c) Marimer LLC