I was trying to update my .edmx (ADO.NET) file to get updated or you can say newly added columns, but I wasn't able to get it, what is the proper way to update or refresh the model to get new database table columns, when the database changes.
I do not want the process of deleting the complete Models and again adding them from database.
...I want to get data from related entity based on multiple conditions in a single query
I have two tables Employee(EmpId,EmpName) and Attendance(AttId,ScanType,ScanTime,EmpId), I want to display data for each month for all Employees. In Attendance table Scan type have multiple values for in-time and out-time. I want to select smallest value as in-time and largest value as out-time for each employee and store for each employee in view model. ViewModel(EmpId,In-time,Outtime).
What will be the query for this?
...
I am trying to access a property of parent entity which is on one side of relation while in child entity but it is giving me null reference exception. May be its problem of lazy loading which is not available in entity framework core 2.0. How to access it in core 2.0. These are details of problem
...Hi,
Facebook docs give this javascript code as shown below for oAuth login re-request
...Hi, I'm adding a new class in my asp.net core 2 project and this class is mapped to one of the table in database, I want to use migrations to create the table from my model,
So I was running this command as shown below in the image:
...
I am looking for a solution to set a project as start-up project in Visual Studio code, like in Visual Studio 2015/2017 or in any other recent version, I right click a project within solution explorer and set it as startup.
However, I am not able to do that in VS Code. So, how can I accomplish that in VS Code? Thanks.
...Hi, I have created an app at Facebook developer page and configured that with my Identity server application URL. Identity server4 application is built in asp.net core.
When user enter the website and tries to connect it using his/her Facebook account, then my app created under Facebook developer ask him the permission to allow the app to receive her information like email adress, age, etc, when user cancelled the permission he is redirected to page "Account/Login" I have followed the steps in this link : https://qawithexperts.com/questions/387/access-denied-when-permission-of-app-to-my-application-is-de
...
Hi, I want to build and clean my project solution in visual studio code, but I can't find the option of clean and build in visual studio code, like we clean the project by clicking right project and click on "Clean" or "Build" in Visual Studio.
How can I do the same thing in visual studio code. Thanks.
...