Skip to content

Commit

Permalink
Make UseDatabaseNamesForRoutines default to true (#2666)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikEJ authored Nov 27, 2024
1 parent 2c35765 commit d7b23d1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion samples/efcpt-config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,8 @@
},
"use-database-names-for-routines": {
"type": "boolean",
"title": "Use stored procedure, stored procedure result and function names from the database"
"title": "Use stored procedure, stored procedure result and function names from the database",
"default": true
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/GUI/RevEng.Shared/Cli/Configuration/CodeGeneration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public class CodeGeneration

[JsonPropertyOrder(125)]
[JsonPropertyName("use-database-names-for-routines")]
public bool UseDatabaseNamesForRoutines { get; set; }
public bool UseDatabaseNamesForRoutines { get; set; } = true;

[JsonPropertyOrder(130)]
[JsonPropertyName("use-decimal-data-annotation-for-sproc-results")]
Expand Down
2 changes: 1 addition & 1 deletion src/GUI/RevEng.Shared/ReverseEngineerOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ public class ReverseEngineerOptions
public bool UseDecimalDataAnnotationForSprocResult { get; set; } = true;
public bool UsePrefixNavigationNaming { get; set; }
public bool UseAsyncStoredProcedureCalls { get; set; } = true;
public bool UseDatabaseNamesForRoutines { get; set; }
public bool UseDatabaseNamesForRoutines { get; set; } = true;
}
}

0 comments on commit d7b23d1

Please sign in to comment.