private void InsertClaimModels(MigrationBuilder migrationBuilder) { NullGuard.NotNull(migrationBuilder, nameof(migrationBuilder)); IEnumerable <Claim> claimCollection = new List <Claim> { ClaimHelper.CreateSecurityAdminClaim(), ClaimHelper.CreateAccountingClaim() }; foreach (Claim claim in claimCollection) { migrationBuilder.InsertData("Claims", new[] { "ClaimType", "ClaimValue" }, new object[] { claim.Type, claim.Value }); } }