Hello,

I've got a small problem with byte[] columns:

If you run the application in Recreate mode

[Field(LazyLoad=true)]
public byte[] Bytes { get;set;}

And then change to

[Field(LazyLoad=true, Length=Int32.MaxValue)]
public byte[] Bytes { get;set;}

and run in Perform mode.

The column size will not be updated, and keep the default value set in recreate mode.

This thread was imported from our support forum. The original discussion may contain more detailed answer.

asked Jul 27 '10 at 08:46

olorin's gravatar image

olorin
358878792

edited Sep 03 '10 at 15:39

Alex%20Yakunin's gravatar image

Alex Yakunin
29714412


One Answer:

Issue created: http://code.google.com/p/dataobjectsdot ... ail?id=769

Is this correct that expected data type upgrade is from varbinary(8000) to varbinary(max)?

answered Jul 29 '10 at 07:22

Alex%20Yakunin's gravatar image

Alex Yakunin
29714412

olorin wrote: I think the default length is 4000 : expected column type upgrade if from varbinary(4000) to varbinary(max)

It is not an blocking issue for us, but if the same is true for strings that could be a problem.

(Jul 29 '10 at 07:22) Editor Editor's gravatar image

The issue is fixed in the latest build.

(Sep 03 '10 at 15:38) Alex Yakunin Alex%20Yakunin's gravatar image
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
toggle preview

powered by OSQA