I am using a Entity Framework to call a stored procedure to save a record to sql server database table. One of the column is varbinary(max) type with data longer than 8000 bytes. How to I specify the type? The document says DbType.Binary is only for data
less than 8000 byte.
parameter =
new
EntityParameter("MyColumn",
DbType
.Binary);
parameter.Value = data;
cmd.Parameters.Add(parameter);
where cmd is a DbCommand
Roy