public MaterialTrackingBatch(string objectId, string description, YellowstonePathology.Business.Facility.Model.Facility fromFacility, string fromLocation, YellowstonePathology.Business.Facility.Model.Facility toFacility, string toLocation, string masterAccessionNo) { this.m_MaterialTrackingBatchId = Guid.NewGuid().ToString(); this.m_ObjectId = objectId; this.m_Description = description; this.m_BatchDate = DateTime.Now; this.m_OpenDate = DateTime.Now; this.m_FromFacilityId = fromFacility.FacilityId; this.m_FromFacilityName = fromFacility.FacilityName; this.m_FromLocation = fromLocation; this.m_ToFacilityId = toFacility.FacilityId; this.m_ToFacilityName = toFacility.FacilityName; this.m_ToLocation = toLocation; this.m_IsOpen = true; this.m_MasterAccessionNo = masterAccessionNo; this.m_MaterialTrackingLogCollection = new Model.MaterialTrackingLogCollection(); }
public MaterialTrackingBatch() { this.m_MaterialTrackingLogCollection = new Model.MaterialTrackingLogCollection(); }