Examples of lockRelationship()


Examples of er.extensions.eof.ERXKeyFilter.lockRelationship()

   */
  public WOActionResults lockedUpdateAction() {
    Person person = person();
    ERXKeyFilter filter = ERXKeyFilter.filterWithAttributes();
    filter.include(Person.COMPANY).includeAttributes(); // let you update a company inside of a person
    filter.lockRelationship(Person.COMPANY); // don't let you change the company relationship
    update(person, filter);
    editingContext().saveChanges();
    return response(person, showFilter());
  }

View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.