Issue #18: Invalid Names
Type: Naming Violations
Files: Throughout codebase
Problematic Examples:
- Generic DbContext name:
public class MyDbContext // Doesn't reveal domain purpose
- Non-descriptive variables:
var x = context.BlogPosts... // 'x' in queries
- Inconsistent naming:
public string Text { get; set; } // In BlogComment
public string Title { get; set; } // In BlogPost - should be 'Content' for consistency
Solution:
public class BlogDbContext : DbContext // Domain-specific
public var posts = context.BlogPosts... // Descriptive
public string Content { get; set; } // Standardized
Issue #18: Invalid Names
Type: Naming Violations
Files: Throughout codebase
Problematic Examples:
Solution: