Ejemplo n.º 1
0
 /// <summary>
 /// Default Constructor.
 /// </summary>
 public ClassBog()
 {
     id        = 0;
     isbnNr    = new ClassISBN();
     titel     = new ClassTitle();
     forfatter = new ClassAuthor();
     forlag    = new ClassPublisher();
     genre     = new ClassGenre();
     type      = new ClassType();
     rentdate  = new Classudlaan();
     pris      = 0;
 }
Ejemplo n.º 2
0
 public ClassBog(int inId, ClassISBN inISBN, ClassTitle inTitle, ClassAuthor inAuthor, ClassPublisher inPublisher,
                 ClassGenre inGenre, ClassType inType, Classudlaan inRentDate, decimal inPris)
 {
     id        = inId;
     isbnNr    = inISBN;
     titel     = inTitle;
     forfatter = inAuthor;
     forlag    = inPublisher;
     genre     = inGenre;
     type      = inType;
     rentdate  = inRentDate;
     pris      = inPris;
 }