-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
byte[] / Image SQL type with CE fails with byte arrays > 8000 characters #213
Comments
Yes, basically; same problem. It vexes me that MS don't "get" this.
|
Is there a simple fix for this ? (eg an interface to implement, subclass to
On 29 November 2014 at 18:25, Marc Gravell [email protected] wrote:
Best regards David Ford |
It is a tricky one. Dapper tries to avoid specific client hacks, but we
|
Unfortunately there are times where specific accommodations need to be made
I also believe that the Dapper docs on the front page should mention the On 30 November 2014 at 06:32, Marc Gravell [email protected] wrote:
Best regards David Ford |
Related to this issue I believe:https://connect.microsoft.com/sqlserver/feedback/details/311412/sqlceparameter-limits-dbtype-binary-to-8000-characters-ssce3-5
In short: it looks as though Dapper needs to explicitly set the parameter type when binding parameters:
SqlCeParameter paramBlob = cmd.Parameters.Add("blob", SqlDbType.NText);
Any thoughts would be welcomed.
The text was updated successfully, but these errors were encountered: