Exemple #1
0
 public static ReturnIntViewBO DeleteOrder(int?orderid)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.DeleteOrder(orderid))[0]);
     }
 }
Exemple #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]);
            }
        }
Exemple #3
0
 public static ReturnIntViewBO DeleteDistributorPriceMarkup(int?distributor)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.DeleteDistributorPriceMarkup(distributor))[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]);
            }
        }
Exemple #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]);
            }
        }
Exemple #6
0
 public static ReturnIntViewBO GetPrice(string patternNumber, string fabricNickName)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.GetPrice(patternNumber, fabricNickName))[0]);
     }
 }
Exemple #7
0
 public static ReturnIntViewBO DeletePrice(int?price)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.DeletePrice(price))[0]);
     }
 }
Exemple #8
0
 public static ReturnIntViewBO DeleteLabelPriceMarkup(int?Label)
 {
     using (IndicoEntities objContext = new IndicoEntities())
     {
         return(ReturnIntViewBO.ToList(objContext.DeleteLabelPriceMarkup(Label))[0]);
     }
 }
Exemple #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]);
            }
        }
Exemple #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]);
            }
        }