Esempio n. 1
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]);
            }
        }