Answers for "query filter"

C#
1

query filter

modelBuilder.Entity<Blog>().HasMany(b => b.Posts).WithOne(p => p.Blog).IsRequired();
modelBuilder.Entity<Blog>().HasQueryFilter(b => b.Url.Contains("fish"));
Posted by: Guest on June-19-2021

C# Answers by Framework

Browse Popular Code Answers by Language