Skip to content

Commit

Permalink
Capitalized "id" to maintain consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
garjitech committed Jul 15, 2012
1 parent 809594c commit 7a454ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dapper.Rainbow/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public bool Delete(int id)
/// <returns></returns>
public T Get(int id)
{
return database.Query<T>("select * from " + TableName + " where id = @id", new { id }).FirstOrDefault();
return database.Query<T>("select * from " + TableName + " where Id = @id", new { id }).FirstOrDefault();
}

public T First()
Expand Down

0 comments on commit 7a454ad

Please sign in to comment.