internal void SetBO(Indico.DAL.HSCodeDetails obj) { // set the Indico.BusinessObjects.HSCodeDetailsBO properties this.HSCode = obj.HSCode; this.ItemSubCategoryID = obj.ItemSubCategoryID; this.ItemSubCategory = obj.ItemSubCategory; this.GenderID = obj.GenderID; this.Gender = obj.Gender; this.Code = obj.Code; }
/// <summary> /// Creates an instance of the HSCodeDetailsBO class using the supplied Indico.DAL.HSCodeDetails. /// </summary> /// <param name="obj">a Indico.DAL.HSCodeDetails whose properties will be used to initialise the HSCodeDetailsBO</param> internal HSCodeDetailsBO(Indico.DAL.HSCodeDetails obj) { // set the properties from the Indico.DAL.HSCodeDetails this.HSCode = obj.HSCode; this.ItemSubCategoryID = obj.ItemSubCategoryID; this.ItemSubCategory = obj.ItemSubCategory; this.GenderID = obj.GenderID; this.Gender = obj.Gender; this.Code = obj.Code; }
internal void SetDAL(Indico.DAL.HSCodeDetails obj, IndicoEntities context) { // set the Indico.DAL.HSCodeDetails properties obj.HSCode = Convert.ToInt32(HSCode); obj.ItemSubCategoryID = Convert.ToInt32(ItemSubCategoryID); obj.ItemSubCategory = ItemSubCategory; obj.GenderID = Convert.ToInt32(GenderID); obj.Gender = Gender; obj.Code = Code; }