views:

116

answers:

0

I got a Model, with a property of type byte[], with corresponding field equivalent on sql server of type varbinary(128).

saving went well. but the problem is my password field is always NULL.

guser.Password = Encoding.ASCII.GetBytes("sample");
repo.Add(guser);

Is this a bug or a user bug?