12 Aug
2008

ORM Value Reason #3982

OK, I should be using an ORM, I know.  So I’m using the opportunity to illustrate problems you WILL encounter when hand writing SQL. Spot the error here: 1: INSERT INTO ValueReading 2: IndexName, SketchId, Value, Color, MeterId, ModeId, MaterialId) 3: VALUES (@id,@index,@sketch,@color,@value,@meterId,@modeId,@materialId) Hint: look at the Value and Color columns.  And note: Color is […]

Read More