Example #1
0
 // constructor for communication with person context
 public Communication(string personID, string personURI, communicationType type, communicationGeneralType gType)
 {
     this.person                   = new Person();
     person.id                     = personID;
     person.uri                    = personURI;
     this.household                = new Household();
     this.communicationType        = type;
     this.communicationGeneralType = gType;
 }
 // constructor for communication with person context
 public Communication(string personID, string personURI, communicationType type, communicationGeneralType gType)
 {
     this.person = new Person();
     person.id = personID;
     person.uri = personURI;
     this.household = new Household();
     this.communicationType = type;
     this.communicationGeneralType = gType;
 }