public Container(IContainer container) { _context = new ChcDBEntities(); this.ContainerID = container.ContainerID; this.ContainerName = container.ContainerName; }
public Carrier(ICarrier carrier) { _context = new ChcDBEntities(); this.CarrierID = carrier.CarrierID; this.CarrierName = carrier.CarrierName; }
public DisposalLocation(IDisposalLocation container) { _context = new ChcDBEntities(); this.DisposalLocationID = container.DisposalLocationID; this.DisposalLocationName = container.DisposalLocationName; }
public ScheduleFrequency(IScheduleFrequency scheduleFrequency) { _context = new ChcDBEntities(); this.ScheduleFrequencyID = scheduleFrequency.ScheduleFrequencyID; this.FrequencyName = scheduleFrequency.FrequencyName; }
public UserAudit(IChcDBEntities context, IUserAudit userAudit) { _context = context; this.CarriedOutByUserID = userAudit.CarriedOutByUserID; this.Event = userAudit.Event; this.EventDateTime = userAudit.EventDateTime; this.UserAuditID = userAudit.UserAuditID; this.UserID = userAudit.UserID; }
public SICLookup(ISICLookup siclookup) { _context = new ChcDBEntities(); this.Description = siclookup.Description; this.Division = siclookup.Division; this.IndustryGroup = siclookup.IndustryGroup; this.MajorGroup = siclookup.MajorGroup; this.SIC = siclookup.SIC; }
public User(IChcDBEntities context, IUser user) { _context = new ChcDBEntities(); this.Password = user.Password; this.RoleID = user.RoleID; this.UserID = user.UserID; this.Username = user.Username; this.Deleted = user.Deleted; }
public SiteAudit(IChcDBEntities context, ISiteAudit siteAudit) { _context = context; this.Event = siteAudit.Event; this.EventDateTime = siteAudit.EventDateTime; this.SiteAuditID = siteAudit.SiteAuditID; this.SiteID = siteAudit.SiteID; this.UserID = siteAudit.UserID; }
public EWC(IEwc ewc) { _context = new ChcDBEntities(); this.Chapter = ewc.Chapter; this.SubChapter = ewc.SubChapter; this.WasteType = ewc.WasteType; this.Description = ewc.Description; this.IsHazardous = ewc.IsHazardous; this.EWCode = ewc.EWCode; }
public SiteAudit(int id) { _context = new ChcDBEntities(); var siteAudit = _context.tblSiteAudits.Find(id); this.Event = siteAudit.Event; this.EventDateTime = siteAudit.EventDateTime; this.SiteAuditID = siteAudit.SiteAuditID; this.SiteID = siteAudit.SiteID; this.UserID = siteAudit.UserID; }
public User(IChcDBEntities context, int id) { _context = context; var user = _context.tblUsers.Find(id); this.Password = user.Password; this.RoleID = user.RoleID; this.UserID = user.UserID; this.Username = user.Username; this.Deleted = user.Deleted; }
public SICLookup(int id) { _context = new ChcDBEntities(); var siclookup = _context.tblSICLookups.Find(id); this.Description = siclookup.Description; this.Division = siclookup.Division; this.IndustryGroup = siclookup.IndustryGroup; this.MajorGroup = siclookup.MajorGroup; this.SIC = siclookup.SIC; }
public Site(IChcDBEntities context, ISite site) { _context = context; this.ActionDetails = site.ActionDetails; this.Address = site.Address; this.ContactDetails = site.ContactDetails; this.SICcode = site.SICcode; this.SiteID = site.SiteID; this.SiteName = site.SiteName; this.Deleted = site.Deleted; }
public Booking(IChcDBEntities context, IBooking booking) { _context = context; this.BookingID = booking.BookingID; this.Deleted = booking.Deleted; this.InPrice = booking.InPrice; this.OutPrice = booking.OutPrice; this.ServiceDate = booking.ServiceDate; this.ServiceID = booking.ServiceID; this.SiteID = booking.SiteID; }
public Site(int id) { _context = new ChcDBEntities(); var site = _context.tblSites.Find(id); this.ActionDetails = site.ActionDetails; this.Address = site.Address; this.ContactDetails = site.ContactDetails; this.SICcode = site.SICcode; this.SiteID = site.SiteID; this.SiteName = site.SiteName; this.Deleted = site.Deleted; }
public Service(IChcDBEntities context, IService service) { _context = context; this.ServiceID = service.ServiceID; this.SiteID = service.SiteID; this.StartDate = service.StartDate; this.ContractNumber = service.ContractNumber; this.ContainerID = service.ContainerID; this.EWC = service.EWC; this.ScheduleFrequencyID = service.ScheduleFrequencyID; this.ScheduleDay = service.ScheduleDay; this.InPrice = service.InPrice; this.OutPrice = service.OutPrice; this.CarrierID = service.CarrierID; this.DisposalLocationID = service.DisposalLocationID; this.IsRecurring = service.IsRecurring; }
public Service(int id) { _context = new ChcDBEntities(); var service = _context.tblServices.Find(id); this.ServiceID = service.ServiceID; this.SiteID = service.SiteID; this.StartDate = service.StartDate; this.ContractNumber = service.ContractNumber; this.ContainerID = service.ContainerID; this.EWC = service.EWC; this.ScheduleFrequencyID = service.ScheduleFrequencyID; this.ScheduleDay = service.ScheduleDay; this.InPrice = service.InPrice; this.OutPrice = service.OutPrice; this.CarrierID = service.CarrierID; this.DisposalLocationID = service.DisposalLocationID; this.IsRecurring = service.IsRecurring; }
public User() { _context = new ChcDBEntities(); }
public User(IChcDBEntities context) { _context = context; }
public DisposalLocation(IChcDBEntities context) { _context = context; }
public Service(IChcDBEntities context) { _context = context; }
public Site(IChcDBEntities context) { _context = context; }
public DisposalLocation() { _context = new ChcDBEntities(); }
public Container(IChcDBEntities context) { _context = context; }
public Site() { _context = new ChcDBEntities(); }
public Carrier(IChcDBEntities context) { _context = context; }
public Booking() { _context = new ChcDBEntities(); }
public Booking(IChcDBEntities context) { _context = context; }
public Container() { _context = new ChcDBEntities(); }
public Service() { _context = new ChcDBEntities(); }