// 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]); } }