Guest User

Untitled

a guest
May 20th, 2018
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.17 KB | None | 0 0
  1. public T Get(int id)
  2.             {
  3.                 return database.Query<T>("select * from " + TableName + " where id = @id", new { id }).FirstOrDefault();
  4.             }
Add Comment
Please, Sign In to add comment