internal void SetDAL(Indico.DAL.ReturnBackOrdersView obj, IndicoEntities context) { // set the Indico.DAL.ReturnBackOrdersView properties obj.DistributorID = Convert.ToInt32(DistributorID); obj.Distributor = Distributor; obj.Coordinator = Coordinator; obj.CoordinatorID = Convert.ToInt32(CoordinatorID); obj.BackOrder = Convert.ToBoolean(BackOrder); obj.Qty = Convert.ToInt32(Qty); obj.DistributorEmailAddress = DistributorEmailAddress; obj.CoordinatorEmailAddress = CoordinatorEmailAddress; obj.Count = Convert.ToInt32(Count); }
internal void SetBO(Indico.DAL.ReturnBackOrdersView obj) { // set the Indico.BusinessObjects.ReturnBackOrdersViewBO properties this.DistributorID = obj.DistributorID; this.Distributor = obj.Distributor; this.Coordinator = obj.Coordinator; this.CoordinatorID = obj.CoordinatorID; this.BackOrder = obj.BackOrder; this.Qty = obj.Qty; this.DistributorEmailAddress = obj.DistributorEmailAddress; this.CoordinatorEmailAddress = obj.CoordinatorEmailAddress; this.Count = obj.Count; }
/// <summary> /// Creates an instance of the ReturnBackOrdersViewBO class using the supplied Indico.DAL.ReturnBackOrdersView. /// </summary> /// <param name="obj">a Indico.DAL.ReturnBackOrdersView whose properties will be used to initialise the ReturnBackOrdersViewBO</param> internal ReturnBackOrdersViewBO(Indico.DAL.ReturnBackOrdersView obj) { // set the properties from the Indico.DAL.ReturnBackOrdersView this.DistributorID = obj.DistributorID; this.Distributor = obj.Distributor; this.Coordinator = obj.Coordinator; this.CoordinatorID = obj.CoordinatorID; this.BackOrder = obj.BackOrder; this.Qty = obj.Qty; this.DistributorEmailAddress = obj.DistributorEmailAddress; this.CoordinatorEmailAddress = obj.CoordinatorEmailAddress; this.Count = obj.Count; }