Dto suffix casing (ARCH005)
Esta página aún no está disponible en tu idioma.
Key dotnet.naming.dto-suffix-casing · Severity warning · Category naming
The DTO suffix should be written as PascalCase Dto in type and variable names; variants like DTO or dto should be avoided.
Incorrect
Section titled “Incorrect”public class OrderDTO{ public int Id { get; set; }}Correct
Section titled “Correct”public class OrderDto{ public int Id { get; set; }}Rename so the suffix is PascalCase Dto. If needed, suppress the rule per project/workspace via except/ignore.