void Database.UpdateLineMarker(int value) { ExecuteDbMethod( delegate(DBConnection cn) { var command = new InlineUpdate("global_numbers"); command.AddColumnModification(new InlineDbCommandColumnValue("v", new DbParameterValue(value))); command.AddCondition(new EqualityCondition(new InlineDbCommandColumnValue("k", new DbParameterValue("LineMarker")))); command.Execute(cn); }); }
void IDatabase.UpdateLineMarker(int value) { ExecuteDbMethod( cn => { var command = new InlineUpdate("global_ints", null); command.AddColumnModification(new InlineDbCommandColumnValue("ParameterValue", new DbParameterValue(value))); command.AddCondition(new EqualityCondition(new InlineDbCommandColumnValue("ParameterName", new DbParameterValue("LineMarker")))); command.Execute(cn); }); }