示例#1
0
        public void Save(PurchaseOrderItem poItem)
        {
            context.PurchaseOrderItems.Add(poItem);

            context.SaveChanges();
        }
示例#2
0
        public PurchaseOrderItem GetByTransactionLogId(int transLogId)
        {
            PurchaseOrderItem poItem = context.PurchaseOrderItems.FirstOrDefault(p => p.TransactionLogId == transLogId);

            return(poItem);
        }
示例#3
0
        public PurchaseOrderItem Find(int poItemId)
        {
            PurchaseOrderItem item = context.PurchaseOrderItems.Find(poItemId);

            return(item);
        }