optionsCreate.setObjectForKey("YES", "DropTablesKey"); optionsCreate.setObjectForKey("YES", "DropPrimaryKeySupportKey"); optionsCreate.setObjectForKey("YES", "CreateTablesKey"); optionsCreate.setObjectForKey("YES", "CreatePrimaryKeySupportKey"); optionsCreate.setObjectForKey("YES", "PrimaryKeyConstraintsKey"); optionsCreate.setObjectForKey("YES", "ForeignKeyConstraintsKey"); optionsCreate.setObjectForKey("NO", "CreateDatabaseKey"); optionsCreate.setObjectForKey("NO", "DropDatabaseKey");
optionsCreate.setObjectForKey("YES", EOSchemaGeneration.DropTablesKey); optionsCreate.setObjectForKey("YES", EOSchemaGeneration.DropPrimaryKeySupportKey); optionsCreate.setObjectForKey("YES", EOSchemaGeneration.CreateTablesKey); optionsCreate.setObjectForKey("YES", EOSchemaGeneration.CreatePrimaryKeySupportKey); optionsCreate.setObjectForKey("YES", EOSchemaGeneration.PrimaryKeyConstraintsKey); optionsCreate.setObjectForKey("YES", EOSchemaGeneration.ForeignKeyConstraintsKey); optionsCreate.setObjectForKey("NO", EOSchemaGeneration.CreateDatabaseKey); optionsCreate.setObjectForKey("NO", EOSchemaGeneration.DropDatabaseKey);
    public static String createSchemaSQLForEntitiesInModelWithName(NSArray entities, String modelName) {        NSMutableDictionary optionsCreate = new NSMutableDictionary();        optionsCreate.setObjectForKey("YES", "DropTablesKey");        optionsCreate.setObjectForKey("YES", "DropPrimaryKeySupportKey");        optionsCreate.setObjectForKey("YES", "CreateTablesKey");        optionsCreate.setObjectForKey("YES", "CreatePrimaryKeySupportKey");        optionsCreate.setObjectForKey("YES", "PrimaryKeyConstraintsKey");        optionsCreate.setObjectForKey("YES", "ForeignKeyConstraintsKey");        optionsCreate.setObjectForKey("NO", "CreateDatabaseKey");        optionsCreate.setObjectForKey("NO", "DropDatabaseKey");        return createSchemaSQLForEntitiesInModelWithNameAndOptions(entities, modelName, optionsCreate);    }