Question: Write a C++ program and give output that creates a database based on the characters of Game of Thrones using get and set. The database
You are asked to write a C# application to create the wESTEROS database (based on the fictional characters of the Game of Thrones by G.G. Martin). The database consists of two classes: Castle, and Person. Classes contain Fields, Properties, and Methods. The database schema is shown below Methads Caste p) boel Implement each of the properties, fields and methods of the classes shown above You will include at least three castles and no less than three people per castle. A reference to the Game of Thrones characters follows: aracters%, ne%20of%20thr Another useful reference is: NOTES (1) Feel free to add methods and properties to enhance the model. (2) 'Find' methods must be based on the Dictionary-class. (3) Add tests to prove the functioning of each method supported by the classes (4) Organization, documentation, and niceness is important and will definitely affect your grade The following fragment is an illustration of the work ahead Castle c1 -new castle("House Stark", -Winterfell"); Person p1- new Person("Arya "Stark", 12); p1.HomeCastle- cl; Console.WriteLine( P1 p1); Person p2 new Person("Jon", "Snow", 28, c1); c1.AddPerson (new Person("Sansa "Stark, 14)); Console.WriteLine( C1"c1); PersonlFirst:Arya, Lest:Stark, Age:12, Castle: House 1 Castle IName: House Stark, Location: Vinterfell Person First:Jon, Last:Snow, Age:20, Castle:Hou Person First:Arya, Last:Stark, lge: 12, Castle:H Person First:Sansa, Lest:Stark, Age:1, Castle
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
