Exemplo n.º 1
0
 private void UpdateAsync(AValue v)
 {
     ExecuteCommandAsync($"UPDATE MatrixA SET Count={v.Count}, Sum={v.Sum} WHERE Row={v.R} AND Column={v.C};");
 }
Exemplo n.º 2
0
 //---------------------------------------------------------------------------------------------------------
 //CRUD для MatrixA
 //---------------------------------------------------------------------------------------------------------
 private void InsertAsync(AValue v)
 {
     ExecuteCommandAsync($"INSERT INTO MatrixA(Row, Column, Count, Sum, Rank) VALUES({v.R}, {v.C}, {v.Count}, {v.Sum}, {v.Rank});");
 }