Skip to content

Commit 800ca69

Browse files
authored
Develop (#291)
2 parents fbe383c + 44124ba commit 800ca69

147 files changed

Lines changed: 11230 additions & 8108 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

PresentValueSeries/InitializeData.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",

PresentValueSeries/PresentValue - Episode 2.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",

PresentValueSeries/PresentValue - Episode 3.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",

PresentValueSeries/Test.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",

ifrs17-template/Constants/CalculationEngine.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "code",
2121
"source": [
2222
"var projectName = \"ifrs17\";",
23-
"\nvar environmentName = \"v1.2.0\";",
23+
"\nvar environmentName = \"v1.3.0\";",
2424
"\nvar notebookName = \"CalculationEngine\";",
2525
"\nvar calculationEngine = $\"#!import \\\"//{projectName}/{environmentName}/{notebookName}\\\"\";"
2626
],

ifrs17-template/Database/Configure.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",

ifrs17-template/Database/MigrationAndScaffolding/Initial.ipynb

Lines changed: 22 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",
@@ -37,7 +37,7 @@
3737
{
3838
"cell_type": "code",
3939
"source": [
40-
"[Migration(\"20230208105811_InitialTypes\")]",
40+
"[Migration(\"20230425145745_InitialTypes\")]",
4141
"\npublic class InitialTypes : Migration",
4242
"\n{",
4343
"\n protected override void Up(MigrationBuilder migrationBuilder)",
@@ -160,7 +160,9 @@
160160
"\n Discriminator = table.Column<string>(type: \"nvarchar(max)\", nullable: false),",
161161
"\n LinkedDataNode = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
162162
"\n ReinsuranceCoverage = table.Column<double>(type: \"float\", nullable: true),",
163-
"\n PremiumAllocation = table.Column<double>(type: \"float\", nullable: true)",
163+
"\n PremiumAllocation = table.Column<double>(type: \"float\", nullable: true),",
164+
"\n CashFlowPeriodicity = table.Column<int>(type: \"int\", nullable: true),",
165+
"\n InterpolationMethod = table.Column<int>(type: \"int\", nullable: true)",
164166
"\n },",
165167
"\n constraints: table =>",
166168
"\n {",
@@ -231,34 +233,17 @@
231233
"\n });",
232234
"\n",
233235
"\n migrationBuilder.CreateTable(",
234-
"\n name: \"ExportFile\",",
235-
"\n columns: table => new",
236-
"\n {",
237-
"\n Id = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
238-
"\n Name = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
239-
"\n ContentType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
240-
"\n CreationTime = table.Column<DateTime>(type: \"datetime2\", nullable: false),",
241-
"\n SerializedContent = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
242-
"\n Length = table.Column<long>(type: \"bigint\", nullable: true),",
243-
"\n Format = table.Column<string>(type: \"nvarchar(max)\", nullable: true)",
244-
"\n },",
245-
"\n constraints: table =>",
246-
"\n {",
247-
"\n table.PrimaryKey(\"PK_ExportFile\", x => x.Id);",
248-
"\n });",
249-
"\n",
250-
"\n migrationBuilder.CreateTable(",
251236
"\n name: \"IfrsVariable\",",
252237
"\n columns: table => new",
253238
"\n {",
254239
"\n Id = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
255-
"\n Value = table.Column<double>(type: \"float\", nullable: false),",
256-
"\n EstimateType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
257240
"\n EconomicBasis = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
258241
"\n DataNode = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
259242
"\n AocType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
260243
"\n Novelty = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
261244
"\n Partition = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
245+
"\n Values = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
246+
"\n EstimateType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
262247
"\n AmountType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
263248
"\n AccidentYear = table.Column<int>(type: \"int\", nullable: true)",
264249
"\n },",
@@ -268,22 +253,7 @@
268253
"\n });",
269254
"\n",
270255
"\n migrationBuilder.CreateTable(",
271-
"\n name: \"ImportDataSet\",",
272-
"\n columns: table => new",
273-
"\n {",
274-
"\n Id = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
275-
"\n CreationTime = table.Column<DateTime>(type: \"datetime2\", nullable: false),",
276-
"\n SerializedContent = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
277-
"\n Length = table.Column<long>(type: \"bigint\", nullable: true),",
278-
"\n Format = table.Column<string>(type: \"nvarchar(max)\", nullable: true)",
279-
"\n },",
280-
"\n constraints: table =>",
281-
"\n {",
282-
"\n table.PrimaryKey(\"PK_ImportDataSet\", x => x.Id);",
283-
"\n });",
284-
"\n",
285-
"\n migrationBuilder.CreateTable(",
286-
"\n name: \"ImportExportActivity\",",
256+
"\n name: \"IOActivity\",",
287257
"\n columns: table => new",
288258
"\n {",
289259
"\n Id = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
@@ -300,58 +270,29 @@
300270
"\n },",
301271
"\n constraints: table =>",
302272
"\n {",
303-
"\n table.PrimaryKey(\"PK_ImportExportActivity\", x => x.Id);",
273+
"\n table.PrimaryKey(\"PK_IOActivity\", x => x.Id);",
304274
"\n });",
305275
"\n",
306276
"\n migrationBuilder.CreateTable(",
307-
"\n name: \"ImportFile\",",
277+
"\n name: \"IOContent\",",
308278
"\n columns: table => new",
309279
"\n {",
310280
"\n Id = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
281+
"\n CreationTime = table.Column<DateTime>(type: \"datetime2\", nullable: false),",
282+
"\n SerializedContent = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
283+
"\n Length = table.Column<long>(type: \"bigint\", nullable: true),",
284+
"\n Format = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
311285
"\n Name = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
312-
"\n Directory = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
313286
"\n ContentType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
287+
"\n Discriminator = table.Column<string>(type: \"nvarchar(max)\", nullable: false),",
288+
"\n Directory = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
314289
"\n Partition = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
315290
"\n Source = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
316-
"\n CreationTime = table.Column<DateTime>(type: \"datetime2\", nullable: false),",
317-
"\n SerializedContent = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
318-
"\n Length = table.Column<long>(type: \"bigint\", nullable: true),",
319-
"\n Format = table.Column<string>(type: \"nvarchar(max)\", nullable: true)",
291+
"\n Content = table.Column<string>(type: \"nvarchar(max)\", nullable: true)",
320292
"\n },",
321293
"\n constraints: table =>",
322294
"\n {",
323-
"\n table.PrimaryKey(\"PK_ImportFile\", x => x.Id);",
324-
"\n });",
325-
"\n",
326-
"\n migrationBuilder.CreateTable(",
327-
"\n name: \"ImportStream\",",
328-
"\n columns: table => new",
329-
"\n {",
330-
"\n Id = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
331-
"\n CreationTime = table.Column<DateTime>(type: \"datetime2\", nullable: false),",
332-
"\n SerializedContent = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
333-
"\n Length = table.Column<long>(type: \"bigint\", nullable: true),",
334-
"\n Format = table.Column<string>(type: \"nvarchar(max)\", nullable: true)",
335-
"\n },",
336-
"\n constraints: table =>",
337-
"\n {",
338-
"\n table.PrimaryKey(\"PK_ImportStream\", x => x.Id);",
339-
"\n });",
340-
"\n",
341-
"\n migrationBuilder.CreateTable(",
342-
"\n name: \"ImportString\",",
343-
"\n columns: table => new",
344-
"\n {",
345-
"\n Id = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
346-
"\n Content = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
347-
"\n CreationTime = table.Column<DateTime>(type: \"datetime2\", nullable: false),",
348-
"\n SerializedContent = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
349-
"\n Length = table.Column<long>(type: \"bigint\", nullable: true),",
350-
"\n Format = table.Column<string>(type: \"nvarchar(max)\", nullable: true)",
351-
"\n },",
352-
"\n constraints: table =>",
353-
"\n {",
354-
"\n table.PrimaryKey(\"PK_ImportString\", x => x.Id);",
295+
"\n table.PrimaryKey(\"PK_IOContent\", x => x.Id);",
355296
"\n });",
356297
"\n",
357298
"\n migrationBuilder.CreateTable(",
@@ -492,12 +433,12 @@
492433
"\n columns: table => new",
493434
"\n {",
494435
"\n Id = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
495-
"\n Values = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
496-
"\n EstimateType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
497436
"\n DataNode = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
498437
"\n AocType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
499438
"\n Novelty = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
500439
"\n Partition = table.Column<Guid>(type: \"uniqueidentifier\", nullable: false),",
440+
"\n Values = table.Column<byte[]>(type: \"varbinary(max)\", nullable: true),",
441+
"\n EstimateType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
501442
"\n AmountType = table.Column<string>(type: \"nvarchar(max)\", nullable: true),",
502443
"\n AccidentYear = table.Column<int>(type: \"int\", nullable: true)",
503444
"\n },",
@@ -644,25 +585,13 @@
644585
"\n name: \"ExchangeRate\");",
645586
"\n",
646587
"\n migrationBuilder.DropTable(",
647-
"\n name: \"ExportFile\");",
648-
"\n",
649-
"\n migrationBuilder.DropTable(",
650588
"\n name: \"IfrsVariable\");",
651589
"\n",
652590
"\n migrationBuilder.DropTable(",
653-
"\n name: \"ImportDataSet\");",
654-
"\n",
655-
"\n migrationBuilder.DropTable(",
656-
"\n name: \"ImportExportActivity\");",
657-
"\n",
658-
"\n migrationBuilder.DropTable(",
659-
"\n name: \"ImportFile\");",
660-
"\n",
661-
"\n migrationBuilder.DropTable(",
662-
"\n name: \"ImportStream\");",
591+
"\n name: \"IOActivity\");",
663592
"\n",
664593
"\n migrationBuilder.DropTable(",
665-
"\n name: \"ImportString\");",
594+
"\n name: \"IOContent\");",
666595
"\n",
667596
"\n migrationBuilder.DropTable(",
668597
"\n name: \"LiabilityType\");",

ifrs17-template/Database/MigrationAndScaffolding/MigrationFlow.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",

ifrs17-template/Database/MigrationAndScaffolding/ReadMe.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",

ifrs17-template/Database/MigrationAndScaffolding/Scaffold.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
}
1515
},
1616
"nbformat": 4,
17-
"nbformat_minor": 8,
17+
"nbformat_minor": 5,
1818
"cells": [
1919
{
2020
"cell_type": "markdown",

0 commit comments

Comments
 (0)