Esempio n. 1
0
 /// <summary>
 /// Constructor for adding Enterprise from Db
 /// </summary>
 /// <param name="id">int</param>
 /// <param name="project">Project</param>
 /// <param name="name">string</param>
 /// <param name="elaboration">string</param>
 /// <param name="offerList">string</param>
 /// <param name="craftGroup1">CraftGroup</param>
 /// <param name="craftGroup2">CraftGroup</param>
 /// <param name="craftGroup3">CraftGroup</param>
 /// <param name="craftGroup4">CraftGroup</param>
 public Enterprise(int id, Project project, string name, string elaboration, string offerList, CraftGroup craftGroup1, CraftGroup craftGroup2, CraftGroup craftGroup3, CraftGroup craftGroup4)
 {
     this.id          = id;
     this.project     = project;
     this.name        = name;
     this.elaboration = elaboration;
     this.offerList   = offerList;
     this.craftGroup1 = craftGroup1;
     this.craftGroup2 = craftGroup2;
     this.craftGroup3 = craftGroup3;
     this.craftGroup4 = craftGroup4;
 }
Esempio n. 2
0
 /// <summary>
 /// Constructor for adding new Enterprise
 /// </summary>
 /// <param name="project">int</param>
 /// <param name="name">string</param>
 /// <param name="craftGroup1">int</param>
 /// <param name="elaboration">string</param>
 /// <param name="offerList">string</param>
 /// <param name="craftGroup2">int</param>
 /// <param name="craftGroup3">int</param>
 /// <param name="craftGroup4">int</param>
 public Enterprise(Project project, string name, CraftGroup craftGroup1, CraftGroup craftGroup2, CraftGroup craftGroup3, CraftGroup craftGroup4, string elaboration = "", string offerList = "")
 {
     this.id          = 0;
     this.project     = project;
     this.name        = name;
     this.elaboration = elaboration;
     this.offerList   = offerList;
     this.craftGroup1 = craftGroup1;
     this.craftGroup2 = craftGroup2;
     this.craftGroup3 = craftGroup3;
     this.craftGroup4 = craftGroup4;
 }