How to tell the database to use Varbinary(max)
for the image ?
I am using SQL Server Compact database with EF 6, and I can't open it from SQL Server 2008
public class Table
{
public int Id { get; set; }
public DateTime DateTime { get; set; }
public byte[] Image { get; set; }
[NotMapped]
public string NotMapped { get; set; }
}
This exception happens to me when i try to save 300,000 byte image
Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.