public CommunicationView(string personID, string personURI, communicationType type, communicationGeneralType gType)
 {
     Comm = new Communication(personID, personID, type, gType);
 }
예제 #2
0
 public List<communication> FindByGeneralCommunicationType(communicationGeneralType generalTypeName)
 {
     return this.items.FindAll(x => x.communicationGeneralType == generalTypeName);
 }
예제 #3
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;
 }
예제 #4
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;
 }
예제 #5
0
 public List <communication> FindByGeneralCommunicationType(communicationGeneralType generalTypeName)
 {
     return(this.items.FindAll(x => x.communicationGeneralType == generalTypeName));
 }