Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: fabiopinheiro on August 24, 2004, 09:36:15 am
-
Hi,
I' m testing EA to design and generate class(code) to C#.
I want implement the pattern DAO in my class.
I need to generate a class DAO(Data Access Object) for each class persistent.
How can I create a new template ? Or if exist one that make this...? Or if exist another Code Generator that make this....?
thanks,
and sorry for my bad English....
Fábio Pinheiro
-
Hi Fábio,
I am not sure if this is what you are looking for, but you certainly can customize the code generation templates. Menu Configuration > Code Generation Templates is probably what you are looking for.
Eu não sou certo se este ajudar, mas eu tentarei. É possível modificar os "templates" do gerador do código. Os "templates" podem ser alcançados de aqui: Configuration > Code Generation Templates.
Just figured I would try :-)
Bruno
-
Hi Bruno,
Thanks for your help.
I was studying and obtained to create a new "language", definite as DAO and created new template for this "language".
Now, I intend to use this template to create class DAO (pattern) for all persistent class...
I think that already one exists template that makes this, but as I did not find nothing I go to try to create mine... Any newness that you to know, informs to me.
thanks,
Fábio Pinheiro