2018-09-27から1日間の記事一覧
何もしない場合 return (_ => true);ublic class Predicate { // 動的にId or 名前条件用ラムダ式を生成する // r => r.Id == id || r => r.Name.Contains(name)という式を動的に作る public static Func GetPredicate(int id, string name) { // パラメータ…
何もしない場合 return (_ => true);ublic class Predicate { // 動的にId or 名前条件用ラムダ式を生成する // r => r.Id == id || r => r.Name.Contains(name)という式を動的に作る public static Func GetPredicate(int id, string name) { // パラメータ…