Creating the Class PictureHeader

Add a new class PictureHeader to the project. Insert the following code:

using System;

using NDO;

namespace BusinessClasses

{

    [NDOPersistent]

    public class PictureHeader

    {

        string name;

        public string Name

        {

            get { return name; }

            set { name = value; }

        }

        DateTime creationDate;

        public DateTime CreationDate

        {

            get { return creationDate; }

            set { creationDate = value; }

        }

        public PictureHeader()

        {

        }

    }

}

The class contains the two information items name and creationDate for selecting the pictures.