示例#1
0
 public User GetById(Guid id)
 {
     using (var connection = context.CreateConnection())
     {
         return(connection.Query <User>(UserQuery.ById(id)).SingleOrDefault());
     }
 }