public void Insert(int?FileNumber, string FileName, DateTime?DateRequested, string RequestedBy, DateTime?DateUploaded, byte[] LogTs) { AsnFileLog item = new AsnFileLog(); item.FileNumber = FileNumber; item.FileName = FileName; item.DateRequested = DateRequested; item.RequestedBy = RequestedBy; item.DateUploaded = DateUploaded; item.LogTs = LogTs; item.Save(UserName); }
public void Update(int LogId, int?FileNumber, string FileName, DateTime?DateRequested, string RequestedBy, DateTime?DateUploaded, byte[] LogTs) { AsnFileLog item = new AsnFileLog(); item.MarkOld(); item.IsLoaded = true; item.LogId = LogId; item.FileNumber = FileNumber; item.FileName = FileName; item.DateRequested = DateRequested; item.RequestedBy = RequestedBy; item.DateUploaded = DateUploaded; item.LogTs = LogTs; item.Save(UserName); }