Menu

#3 Basic Code Generation: Default Datatype Mapping

2.0
open
nobody
None
2012-02-04
2012-02-04
Larry Rix
No

Design, build and test default datatype mapping. The eMSQLex program must have a common set of default datatype mappings it uses to determine how to generate Eiffel code in template classes.

Primary Use Case:

  1. User calls for code generation --> eMSQLex generates the code based on a set of defined datatype maps (database-to-Eiffel class).

NOTES:

  1. Refer to DATABASE_REPOSITORY.generate_class(f: FILE) for a base pattern. In one project, we used an override of this class as the class generator and this might be appropriate here as well. It could also be that a simple descendant class with a redefinition might work as well.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB