Just starting a project for a course I'm doing and to get data for the database we must create our accessor methods which I found fine but I must create these for pictures that are blobs in my database anyone know how to best do this?
these are what I have so far and the way our lecturer wants them...
namespace ClassLibrary
{
class Advert
{
public String Name
{
get { return Name; }
set { Name = value; }
}
public String Genre
{
get { return Genre; }
set { Genre = value; }
}
public String Console
{
get { return Console; }
set { Console = value; }
}
public String Description
{
get { return Description; }
set { Description = value; }
}
public double Price
{
get { return Price; }
set { Price = value; }
}
}
}