D365FFO – AX – Set default model for new projects

There is a config file under C:\Users\username\Documents\Visual Studio 2015\Settings\DefaultConfig.xml. Update: For Visual Studio 2017 and newer the path for this config file is C:\Users\Administrator\Documents\Visual Studio Dynamics 365\DynamicsDevConfig.xml Add the DefaultModelForNewProjects node with the name of the model to it: <DynamicsDevConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/dynamics/2012/03/development/configuration"> ... <DefaultModelForNewProjects>NameOfModel<DefaultModelForNewProjects> ... </DynamicsDevConfig>

Visual Studio – Team Foundation Server – Difference Command syntax

Compares, and if it is possible, displays differences between two files, files in two folders, or a shelveset and a local or a server file. Required Permissions To use the difference command, you must have the Read permission for all specified items set to Allow. For more information, see Permissions and groups reference.Copy tf diff[erence] itemspec [/version:versionspec] [/type:filetype] [/format:format [/ignorespace] [/ignoreeol] … Continua a leggere Visual Studio – Team Foundation Server – Difference Command syntax

D365FFO – AX – Compare the code of a class that is in source control

To compare the code of a modified class there are 3 options : In Team Explorer, select Compare with Latest Version.In Team Explorer, select Compare with Workspace VersionRun the diff command Example:In Team Explorer, right-click FMRental.xml, and select Compare with Latest Version. Choose Compare with Latest Version to see how the changes you have made … Continua a leggere D365FFO – AX – Compare the code of a class that is in source control

Linq-to-Entities Query in Entity Framework

Here, you will learn how to write LINQ-to-Entities queries and get the result in Entity Framework 6.x as well as in Entity Framework Core. Visit LINQ Tutorials to learn LINQ step by step. The DbSet class is derived from IQuerayable. So, we can use LINQ for querying against DbSet, which will be converted to an SQL query. EF API executes this SQL query … Continua a leggere Linq-to-Entities Query in Entity Framework