new SqlParameter("@email",System.Data.SqlDbType.VarChar,100){Value=model.Email==null?DBNull.Value:(object)model.Email} model.Email = reader.IsDBNull(3) ? null : reader.GetString(3);