MohammadAkbari
MohammadAkbari
immidiate window and other debugging tools in visual studio work correctly before I upgrade visual studio update 2 rc, after upgrade immidiate window raise error this error error CS0103: The...
Entity framework core rc2 generates bad sql query in sql profiler, Models and DbContext are given below, The reason for this issue is ApplicationUser inherits from IdentityUser, And this issue...
For assign mutiple type to user, I use UserType enum that decorate with Flags attribute as fallow: ``` [Flags] public enum UserType { Default = 0, Moderator = 1, Doctor...
In following sample i use ConcurrencyCheck DataAnnotation for handling concurrency issues, but after executing add-migration command the Up and Down methods in the generated migration file are empty and when...
I have simple Forum application that each topic has many post, and each post may liked by several users. application Entity Models are as following: ``` public class ForumTopic {...
I need unoin two query and after union Group By that, but throw "must be reducible node" Exception. in following sample code are: ``` public class ForumPost { public int...
I use entity framework core 1.1. I have a query like below, and I expect to users who have UserProfile by using Include, load UserProfile. but this query always return...
In Entity Framework core 3.1.3, I have used the value object feature. In the query side, the problem is an extra left join exists in TSql. This extra join results...
I use EF Core 5 in a project, one of my entities contains a NotMapped property that mixed two properties of the entity, I expect in the select statement only...
In my project, I use the Identity server OpenId Connect for authorization. One of the clients of Identity is the MVC type. For scalability, I need multiple replicas of the...