I'm developing a web application using ASP.Net MVC 5, and Entity Framework 6. I've performed a database first migration based off of the below database schema.
CREATE TABLE IF NOT EXISTS `database`.`table_name` (
`id` INT NOT NULL AUTO_INCREMENT,
`some_value` INT NULL,
`some_other_value` INT NULL,
`some_other_ohter_value` INT NULL,
PRIMARY KEY (`id`)
);
This results in the following class being generated:
public partial class table_name
{
public int id { get; set; }
public int some_value { get; set; }
public int some_other_value { get; set; }
public int some_other_ohter_value { get; set; }
}
Note that the class name, and properties directly match that of the table schema. Is there a way to have this class follow Pascal Case per C# naming conventions as per below?
public partial class TableName
{
public int Id { get; set; }
public int SomeValue { get; set; }
public int SomeOtherValue { get; set; }
public int SomeOtherOtherValue { get; set; }
}