Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look at simplifying the API as it is too complex. #14

Open
RyanONeill1970 opened this issue Sep 30, 2016 · 1 comment
Open

Look at simplifying the API as it is too complex. #14

RyanONeill1970 opened this issue Sep 30, 2016 · 1 comment

Comments

@RyanONeill1970
Copy link
Member

To add an individual to the in memory database we just add a new GedcomIndividualRecord.
To add sub records (birth, names etc) we add those to the individual but also have to pass the db as well.

We could adopt a fluent API approach and also have it so that when a sub record is added, it inherits the database from the parent record.

@HolyOne
Copy link

HolyOne commented Apr 10, 2023

I agree. At least helper methods like GetSibblings() , GetParents() wıould be nice.
Also calculating the relationship between 2 individuals would be helpful (Like x is 3rd cousin of y)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants