personTable.addForeignKey("genderTypeID", "GenderType", "id");
}
public void postUpgrade(EOEditingContext ec, EOModel model) throws Throwable {
GenderType female = GenderType.createGenderType(ec, "Female");
GenderType male = GenderType.createGenderType(ec, "Male");
ec.saveChanges();
NSArray<String> maleFirstName = new NSArray<String>(new String[] {"David", "Stephen", "Frank", "John", "Edward"});
NSArray<String> femaleFirstName = new NSArray<String>(new String[] {"Sally", "Susan", "Linda", "Jane", "Ellen"});