private void EntitySelected(EntitySelectedEvent obj) { switch (obj.EntityKey) { case "Parent": this.Location.ParentId = obj.Id; this.Location.ParentName = obj.EntityValue; break; } }
private void EntitySelected(EntitySelectedEvent obj) { }
private void EntitySelected(EntitySelectedEvent obj) { switch (obj.EntityKey) { case "SourceParty": this.PartyAccountability.SourcePartyId = obj.Id; this.PartyAccountability.SourcePartyName = obj.EntityValue; break; case "TargetParty": this.PartyAccountability.TargetPartyId = obj.Id; this.PartyAccountability.TargetPartyName = obj.EntityValue; break; case "SourcePerson": this.PartyAccountability.SourcePersonId = obj.Id; this.PartyAccountability.SourcePersonName = obj.EntityValue; break; case "TargetPerson": this.PartyAccountability.TargetPersonId = obj.Id; this.PartyAccountability.TargetPersonName = obj.EntityValue; break; } }
private void EntitySelected(EntitySelectedEvent obj) { switch (obj.EntityKey) { case "Party": this.Exchange.PartyId = obj.Id; this.Exchange.PartyName = obj.EntityValue; break; } }
private void HideSelectEntity(EntitySelectedEvent obj) { this.SelectEntity = false; }