Ejemplo n.º 1
0
 public static PO insertPO(APCEntities APCContext, Supplier supplier, Project project)
 {
     PO po = new PO();
     po.Supplier = supplier;
     po.Project = project;
     po.DateCreated = DateTime.Today;
     po.Invoiced = false;
     APCContext.AddToPO(po);
     APCContext.SaveChanges();
     return po;
 }
Ejemplo n.º 2
0
        public static PO insertPO(APCEntities APCContext, Supplier supplier, Project project)
        {
            PO po = new PO();

            po.Supplier    = supplier;
            po.Project     = project;
            po.DateCreated = DateTime.Today;
            po.Invoiced    = false;
            APCContext.AddToPO(po);
            APCContext.SaveChanges();
            return(po);
        }