When I get the SQL used by EF Code First, the DECLARE statements for nvarchar are incorrect because they do not specify a width,e.g.
DECLARE @p__linq__0 nvarchar = N'blah';
should be more like
DECLARE @p__linq__0 nvarchar(255) = N'blah';
When I get the SQL used by EF Code First, the DECLARE statements for nvarchar are incorrect because they do not specify a width,e.g.
DECLARE @p__linq__0 nvarchar = N'blah';
should be more like
DECLARE @p__linq__0 nvarchar(255) = N'blah';