I am using Visual Studio Professional 2015 with Update 3. I have a .edmx file that contains my database model. When I update my model from the database, the auto-generated code is not correctly formatted.
For example, previously I had something like the following :
namespace Something
{
using System;
using System.Collections.Generic;
public partial class Analysis
{
public Analysis()
{
this.QualitativeAnalysis = new HashSet<QualitativeAnalysis>();
this.QuantitativeAnalysis = new HashSet<QuantitativeAnalysis>();
this.ScoringAnalysis = new HashSet<ScoringAnalysis>();
this.SumupAnalysis = new HashSet<SumupAnalysis>();
}
}
}
I changed my machine and now I have :
namespace Something
{
using System;
using System.Collections.Generic;
public partial class Analysis
{
public Analysis()
{
this.QualitativeAnalysis = new HashSet<QualitativeAnalysis>();
this.QuantitativeAnalysis = new HashSet<QuantitativeAnalysis>();
this.ScoringAnalysis = new HashSet<ScoringAnalysis>();
this.SumupAnalysis = new HashSet<SumupAnalysis>();
}
}
}
What do I have to change in my VS configuration to fix this issue ?
Thanks.