internal void SetDAL(Indico.DAL.PendingPricesView obj, IndicoEntities context) { // set the Indico.DAL.PendingPricesView properties obj.ID = Convert.ToInt32(ID); obj.PatternNumber = PatternNumber; obj.NickName = NickName; obj.Gender = Gender; obj.SubItemName = SubItemName; obj.AgeGroup = AgeGroup; obj.CoreCategory = CoreCategory; obj.CorePattern = CorePattern; }
internal void SetBO(Indico.DAL.PendingPricesView obj) { // set the Indico.BusinessObjects.PendingPricesViewBO properties this.ID = obj.ID; this.PatternNumber = obj.PatternNumber; this.NickName = obj.NickName; this.Gender = obj.Gender; this.SubItemName = obj.SubItemName; this.AgeGroup = obj.AgeGroup; this.CoreCategory = obj.CoreCategory; this.CorePattern = obj.CorePattern; }
/// <summary> /// Creates an instance of the PendingPricesViewBO class using the supplied Indico.DAL.PendingPricesView. /// </summary> /// <param name="obj">a Indico.DAL.PendingPricesView whose properties will be used to initialise the PendingPricesViewBO</param> internal PendingPricesViewBO(Indico.DAL.PendingPricesView obj) { // set the properties from the Indico.DAL.PendingPricesView this.ID = obj.ID; this.PatternNumber = obj.PatternNumber; this.NickName = obj.NickName; this.Gender = obj.Gender; this.SubItemName = obj.SubItemName; this.AgeGroup = obj.AgeGroup; this.CoreCategory = obj.CoreCategory; this.CorePattern = obj.CorePattern; }