Populated Table data

This commit is contained in:
Andreas 2022-12-08 12:26:05 +01:00
parent 6bdd4cac59
commit 68634123f9
2 changed files with 12 additions and 0 deletions

View File

@ -6,4 +6,8 @@
<RootNamespace>OOP_Opdracht_CSharp_Alfa_2022</RootNamespace>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Data.SqlClient" Version="5.0.1" />
</ItemGroup>
</Project>

View File

@ -21,5 +21,13 @@ namespace OOP_Opdracht_CSharp_Alfa_2022.classes
return new KeyValuePair<int, string>();
}
public Game()
{
table_data.Add(1, "Battlefield 2042");
table_data.Add(2, "Counter-Strike: Global Offensive");
table_data.Add(3, "Rust");
}
}
}