Check out example codes for "migrationbuilder insert data example". It will help you in understanding the concepts better.

Code Example 1

migrationBuilder.InsertData(
            table: "TypeNote",
            columns: new[] { "Name" },
            values: new object[,]
            {
                { "Test" },
                { "Test1" }
        });

Learn ReactJs, React Native from akashmittal.com