Skip to content

Refactoring: Enhance the coding in the Core Compiler #479

@mikependon

Description

@mikependon

In order for the RepoDb code to be more maintainable and is easy for everyone contribute (i.e: .NET Community, Friends, Colleagues, etc), ensure that the following classes are all written in a very simple manner.

Make sure to write the methods in a very short manner to adhere with the C# Guidelines Design Principles.

  • FunctionFactory.cs - the compiler is quite big enough, better separate the function in each method.
  • InsertAll - the callback needs to be separated on a separate method.
  • UpdateAll - the callback needs to be separated on a separate method.
  • MergeAll - the callback needs to be separated on a separate method.

The operations and mentioned methods above are all covered by huge Unit and Integration Tests.

Acceptance Criteria: No need to update the Test Suites, however, we need to make sure that all Unit Tests and Integration Tests are green in all code lines.

Metadata

Metadata

Assignees

Labels

deployedFeature or bug is deployed at the current releaseenhancementNew feature or requestfixedThe bug, issue, incident has been fixed.optimizationAn optimization taskpriorityTop priority feature or things to dorefactoringA change in code without changing the logictodoThings to be done in the future

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions