According to the docs, there's supposed to be a class for thumbnail handling in the namespace System.Drawing
. I want to create a model that has an image as a property and then save it to a database. However, when I try the code below, I get an error that the class isn't found in that namespace, regardless of the docs stating otherwise.
using System.Drawing;
public class Donkey
{
public Image Image { get;set; }
}
What am I missing?!
I've googled it but only found old posts and examples that seem not to work.