The whole database..... I think this is better done using an In-Memory OLTP database.
Having said that, you can do that yourself, with LLBLGen, you will have to read the tables you want, into I'm-Memory structures, DTOs would be ideal in that case.
i.e. you need to write the code that read from the database, and into these DTOs.