Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
type のプロパティを持つモデルがあり、byte[]対応するフィールドは type の SQL Server に相当しますvarbinary(128)。
byte[]
varbinary(128)
保存はうまくいきました。しかし問題は、パスワード フィールドが常に NULL であることです。
guser.Password = Encoding.ASCII.GetBytes("sample"); repo.Add(guser);
これはバグですか、それともユーザー エラーですか?