Ejemplo n.º 1
0
 public static ReturnIntViewBO DeleteOrder(int?orderid)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.DeleteOrder(orderid))[0]);
     }
 }
Ejemplo n.º 2
0
        // Put implementations of OnBusinessObjectNameBOPropertyNameChanging()
        // and OnBusinessObjectNameBOPropertyNameChanged() here

        #endregion

        #region Extension Methods
        // Put methods to manipulate Business Objects here. Add, Update etc

        public static ReturnIntViewBO CloneDistributorPriceMarkup(int?existingDistributor, int?newDitributor)
        {
            using (IndicoEntities objContext = new IndicoEntities())
            {
                return(ReturnIntViewBO.ToList(objContext.CloneDistributorPriceMarkup(existingDistributor, newDitributor))[0]);
            }
        }
Ejemplo n.º 3
0
 public static ReturnIntViewBO DeleteDistributorPriceMarkup(int?distributor)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.DeleteDistributorPriceMarkup(distributor))[0]);
     }
 }
Ejemplo n.º 4
0
        // Put implementations of OnBusinessObjectNameBOPropertyNameChanging()
        // and OnBusinessObjectNameBOPropertyNameChanged() here

        #endregion

        #region Extension Methods
        // Put methods to manipulate Business Objects here. Add, Update etc

        public static ReturnIntViewBO InsertPackingList(DateTime weekenddate, int creator)
        {
            using (IndicoEntities objContext = new IndicoEntities())
            {
                return(ReturnIntViewBO.ToList(objContext.CreatePackingList(weekenddate, creator))[0]);
            }
        }
Ejemplo n.º 5
0
        // Put implementations of OnBusinessObjectNameBOPropertyNameChanging()
        // and OnBusinessObjectNameBOPropertyNameChanged() here

        #endregion

        #region Extension Methods
        // Put methods to manipulate Business Objects here. Add, Update etc

        public static ReturnIntViewBO UpdateDutyRateExchnageRate(decimal dutyrate, decimal exchnagerate)
        {
            using (IndicoEntities objContext = new IndicoEntities())
            {
                return(ReturnIntViewBO.ToList(objContext.UpdateDutyRateExchnageRateCostSheet(dutyrate, exchnagerate))[0]);
            }
        }
Ejemplo n.º 6
0
 public static ReturnIntViewBO GetPrice(string patternNumber, string fabricNickName)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.GetPrice(patternNumber, fabricNickName))[0]);
     }
 }
Ejemplo n.º 7
0
 public static ReturnIntViewBO DeletePrice(int?price)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.DeletePrice(price))[0]);
     }
 }
Ejemplo n.º 8
0
 public static ReturnIntViewBO DeleteLabelPriceMarkup(int?Label)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.DeleteLabelPriceMarkup(Label))[0]);
     }
 }
Ejemplo n.º 9
0
        // Put implementations of OnBusinessObjectNameBOPropertyNameChanging()
        // and OnBusinessObjectNameBOPropertyNameChanged() here

        #endregion

        #region Extension Methods
        // Put methods to manipulate Business Objects here. Add, Update etc

        public static ReturnIntViewBO CloneLabelPriceMarkup(int?existingDistributor, string Label)
        {
            using (IndicoEntities objContext = new IndicoEntities())
            {
                return(ReturnIntViewBO.ToList(objContext.CloneLabelPriceMarkup(existingDistributor, Label))[0]);
            }
        }
Ejemplo n.º 10
0
        // Put implementations of OnBusinessObjectNameBOPropertyNameChanging()
        // and OnBusinessObjectNameBOPropertyNameChanged() here

        #endregion

        #region Extension Methods
        // Put methods to manipulate Business Objects here. Add, Update etc

        public static ReturnIntViewBO ValidateField(int?id, string table, string field, string value)
        {
            using (IndicoEntities objContext = new IndicoEntities())
            {
                return(ReturnIntViewBO.ToList(objContext.ValidateField(id, table, field, value))[0]);
            }
        }