Commit 3f5aa81e authored by Sam's avatar Sam

Merge pull request #42 from garjitech/master

Capitalize "id" to maintain consitency
parents 809594cf 7a454ad4
...@@ -100,7 +100,7 @@ public bool Delete(int id) ...@@ -100,7 +100,7 @@ public bool Delete(int id)
/// <returns></returns> /// <returns></returns>
public T Get(int id) 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() public T First()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment