string query = "SELECT * from country WHERE Name LIKE CONCAT('%',@name,'%');" var results = connection.query<country>(query, new {name});
dbConnection.Query<TransactionLog>(sQuery, commandTimeout: 180);
$ dotnet add package Microsoft.EntityFrameworkCore $ dotnet add package Microsoft.EntityFrameworkCore.Tools $ dotnet add package Microsoft.EntityFrameworkCore.Sqlite $ dotnet add package Microsoft.EntityFrameworkCore.Sqlite.Design
<ItemGroup> <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0" /> </ItemGroup>
$ dotnet restore
$ dotnet ef migrations add Initial $ dotnet ef database update