草庐IT

BranchIdentities

全部标签

c# - 尝试将非空字符串设置为类型 'System.Int32'

EntityFramework抛出这个异常:The'PasswordIterations'propertyon'BranchIdentity'couldnotbesettoa'System.String'value.Youmustsetthispropertytoanon-nullvalueoftype'System.Int32'.它在这条线上抛出://Validateuniquenessoremailandusernamevaruser=sqlStorage.BranchIdentities.FirstOrDefault(i=>i.Username.ToLower()==viewMo