db.Update<Luna.Record.TB_ITEM>().Set(
x => x.ITEM_DURABILITY == Convert.ToInt32(quantity))
.Where(x => x.ITEM_POSITION == Convert.ToInt32(position))
.Execute();
Cómo agregaré una cláusula AND así es como se ve en SQL simple:
UPDATE TB_ITEM
SET ITEM_DURABITLITY=@quantity
WHERE ITEM_POSITION=@position AND CHARACTER_IDX=@charidx
Respuestas
0 para la respuesta № 1.Where(x => x.ITEM_POSITION == Convert.ToInt32(position)
&& x.CHARACTER_IDX == Convert.ToInt32(charidx))