トップに戻る
tags
var category = "C#"; var posts = context.Posts .FromSql($"select * from Posts where Category = {category} and IsPrivate = 0") .ToList();
引用 : https://qiita.com/Nossa/items/94e5d15a9f05b3bc1b02
edit