예제 #1
0
 public WebAPIDto <MassimarioScartoEntities.MassimarioScarto> FindByPath(string path)
 {
     Finder.ResetDecoration();
     Finder.EnablePaging = false;
     Finder.Path         = path;
     return(Finder.DoSearch().SingleOrDefault());
 }
예제 #2
0
 public CollaborationEntities.Collaboration GetByIncremental(int incremental)
 {
     Finder.ResetDecoration();
     Finder.CollaborationFinderActionType = null;
     Finder.Incremental = incremental;
     return(Finder.DoSearch().Select(s => s.Entity).SingleOrDefault());
 }
 public WebAPIDto <FascicleEntities.FascicleDocumentUnit> FindFascicolatedFascicleDocumentUnit(Guid idDocumentUnit)
 {
     Finder.ResetDecoration();
     Finder.IdDocumentUnit = idDocumentUnit;
     Finder.ReferenceType  = FascicleEntities.ReferenceType.Fascicle;
     Finder.EnablePaging   = false;
     return(Finder.DoSearch().SingleOrDefault());
 }
 public FascicleEntities.FascicleDocumentUnit FindProtocolInFascicle(Guid uniqueIdProtocol, Guid fascicleId)
 {
     Finder.ResetDecoration();
     Finder.IdDocumentUnit = uniqueIdProtocol;
     Finder.IdFascicle     = fascicleId;
     Finder.EnablePaging   = false;
     return(Finder.DoSearch().Select(f => f.Entity).SingleOrDefault());
 }
 public ICollection <FascicleEntities.FascicleDocumentUnit> FindFascicleProtocols(Guid uniqueIdProtocol)
 {
     Finder.ResetDecoration();
     Finder.IdDocumentUnit = uniqueIdProtocol;
     Finder.ExpandFascicle = true;
     Finder.EnablePaging   = false;
     return(Finder.DoSearch().Select(f => f.Entity).ToList());
 }
 public FascicleEntities.Fascicle FindFascicleFromDocumentUnit(Guid idDocumentUnit)
 {
     Finder.ResetDecoration();
     Finder.IdDocumentUnit = idDocumentUnit;
     Finder.ExpandFascicle = true;
     Finder.ReferenceType  = FascicleEntities.ReferenceType.Fascicle;
     Finder.EnablePaging   = false;
     return(Finder.DoSearch().Select(f => f.Entity.Fascicle).SingleOrDefault());
 }