protected override object NextValue(EntityEntry entry) { using var context = new MVCHContext(); var stringId = new StringBuilder(); var idNumSequence = (context.Visits.Count() + 1).ToString(); stringId.Append("VST-"); stringId.Append($"{idNumSequence.PadLeft(6, '0')}"); return(stringId.ToString()); }
public UnitEmployeeService(MVCHContext context) { _context = context; }
public VolunteerSpecialtyService(MVCHContext context) { _context = context; }
public EmployeeSpecialtyService(MVCHContext context) { _context = context; }
public FacilityPhysicianService(MVCHContext context) { _context = context; }
public PatientOrderService(MVCHContext context) { _context = context; }
public ProcedureService(MVCHContext context) { _context = context; }
public VolunteerService(MVCHContext context) { _context = context; }
public OrderServiceLayer(MVCHContext context) { _context = context; }
public TreatmentService(MVCHContext context) { _context = context; }
public WorkUnitService(MVCHContext context) { _context = context; }
public VitalRecordService(MVCHContext context) { _context = context; }
public FacilityService(MVCHContext context) { _context = context; }
public ConditionService(MVCHContext context) { _context = context; }
public VendorService(MVCHContext context) { _context = context; }
public ItemService(MVCHContext context) { _context = context; }
public OrderServiceService(MVCHContext context) { _context = context; }
public PersonService(MVCHContext context) { _context = context; }
public SpecialtyService(MVCHContext context) { _context = context; }
public WardService(MVCHContext context) { _context = context; }
public BedService(MVCHContext context) { _context = context; }
public VitalService(MVCHContext context) { _context = context; }
public DiagnosisService(MVCHContext context) { _context = context; }
public WardEmployeeService(MVCHContext context) { _context = context; }
public JobClassService(MVCHContext context) { _context = context; }
public VisitService(MVCHContext context) { _context = context; }
public PhysicianService(MVCHContext context) { _context = context; }