public void Delete(JobReceiveByProduct s) { _unitOfWork.Repository <JobReceiveByProduct>().Delete(s); }
public void Update(JobReceiveByProduct s) { s.ObjectState = ObjectState.Modified; _unitOfWork.Repository <JobReceiveByProduct>().Update(s); }
public JobReceiveByProduct Create(JobReceiveByProduct S) { S.ObjectState = ObjectState.Added; _unitOfWork.Repository <JobReceiveByProduct>().Insert(S); return(S); }