コード例 #1
0
 public static NSArray<PDBPresentation> fetchPDBPresentations(
     EOEditingContext editingContext,
     EOQualifier qualifier,
     NSArray<EOSortOrdering> sortOrderings) {
   ERXFetchSpecification<PDBPresentation> fetchSpec =
       new ERXFetchSpecification<PDBPresentation>(
           _PDBPresentation.ENTITY_NAME, qualifier, sortOrderings);
   NSArray<PDBPresentation> eoObjects = fetchSpec.fetchObjects(editingContext);
   return eoObjects;
 }
コード例 #2
0
 public static NSArray<ERRole> fetchERRoles(
     EOEditingContext editingContext,
     EOQualifier qualifier,
     NSArray<EOSortOrdering> sortOrderings) {
   ERXFetchSpecification<ERRole> fetchSpec =
       new ERXFetchSpecification<ERRole>(_ERRole.ENTITY_NAME, qualifier, sortOrderings);
   fetchSpec.setIsDeep(true);
   NSArray<ERRole> eoObjects = fetchSpec.fetchObjects(editingContext);
   return eoObjects;
 }