有没有一种快速的方法可以仅出于测试目的而在C#中创建简单的数据库?

I’m sorry if this question is OT. I’m learning Dapper but I need to test my knowledge about it on something real. I have no databases created locally. I wonder if there’s a way to make Dapper’s queries against a simple text file, for example. I tried to see if there were online services that let you to build a fake database online giving you the connection string to it, but I found nothing. Do I need to build a real database to test the functionality of my code using Dapper?

评论