RT,以前的ef for mysql ,定義c# bool, mysql tinyint(1),來存儲bool 值,net core 里邊會報錯, Unable to cast object of type 'System.Boolean' to type 'System.SByte'.如果用bit(1),好像值更新有問題, false 也會存成1, 這個問題有遇到的嗎?
添加回答
舉報
0/150
提交
取消