microting/eform-sdk-dotnet

View on GitHub
eFormCore/Migrations/20190509074123_RefactoringidtoId.cs

Summary

Maintainability
F
5 days
Test Coverage

Method Up has 474 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        protected override void Up(MigrationBuilder migrationBuilder)
        {
            //Setup for SQL Server Provider
           
            string autoIDGenStrategy = "SqlServer:ValueGenerationStrategy";
Severity: Major
Found in eFormCore/Migrations/20190509074123_RefactoringidtoId.cs - About 2 days to fix

    File 20190509074123_RefactoringidtoId.cs has 718 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    using Microsoft.EntityFrameworkCore.Metadata;
    using Microsoft.EntityFrameworkCore.Migrations;
    
    namespace Microting.eForm.Migrations
    {
    Severity: Major
    Found in eFormCore/Migrations/20190509074123_RefactoringidtoId.cs - About 1 day to fix

      Method Down has 216 lines of code (exceeds 25 allowed). Consider refactoring.
      Open

              protected override void Down(MigrationBuilder migrationBuilder)
              {
                  migrationBuilder.DropForeignKey(
                      name: "FK_folders_folders_parentId",
                      table: "folders");
      Severity: Major
      Found in eFormCore/Migrations/20190509074123_RefactoringidtoId.cs - About 1 day to fix

        There are no issues that match your filters.

        Category
        Status