Exemplo n.º 1
0
        public void Insert(int?OrderNumber, int?DocsDespatchID, int?Original, DateTime?DocumentationDespatched, DateTime?DocsLastUpdated, string CourierName, string AWBNumber, bool SendByEmail, int?ContactID, string EmailAddress, byte[] Ts)
        {
            CourierDetailsSubTable item = new CourierDetailsSubTable();

            item.OrderNumber = OrderNumber;

            item.DocsDespatchID = DocsDespatchID;

            item.Original = Original;

            item.DocumentationDespatched = DocumentationDespatched;

            item.DocsLastUpdated = DocsLastUpdated;

            item.CourierName = CourierName;

            item.AWBNumber = AWBNumber;

            item.SendByEmail = SendByEmail;

            item.ContactID = ContactID;

            item.EmailAddress = EmailAddress;

            item.Ts = Ts;


            item.Save(UserName);
        }
Exemplo n.º 2
0
 public bool Destroy(object CourierDetailID)
 {
     return(CourierDetailsSubTable.Destroy(CourierDetailID) == 1);
 }
Exemplo n.º 3
0
 public bool Delete(object CourierDetailID)
 {
     return(CourierDetailsSubTable.Delete(CourierDetailID) == 1);
 }