Book a Demo

Author Topic: :( code generation  (Read 3047 times)

zjc5284

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
:( code generation
« on: October 21, 2009, 07:21:49 pm »
hi,this is my first time to use EA and met some problems

P1

P2
I have been set up the relation of package import in the logical model diagram,and Generates code BLL.admin.cs:
///////////////////////////////////////////////////////////
//  admin.cs
//  Implementation of the Class admin
//  Generated by Enterprise Architect
//  Created on:      21-[ch21313][ch26376]-2009 15:14:43
//  Original author: Evilsir
///////////////////////////////////////////////////////////




namespace BLL {
      public class admin {

            public admin(){

            }

            ~admin(){

            }

            public virtual void Dispose(){

            }

      }//end admin

}//end namespace BLL
question:why the code doesn't include a code like using DAL; etc
whether i have miss anything? please help with my problem,think you all!
by the way ,i am chinese and my english very poor :(

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: :( code generation
« Reply #1 on: October 22, 2009, 08:14:15 am »
Package import relationships are not used by code generation.  Only the relationships between classes.  (eg. Generalization, Realization, Association)