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