예제 #1
0
 internal void SetBO(Indico.DAL.ReturnDownloadPriceListView obj)
 {
     // set the Indico.BusinessObjects.ReturnDownloadPriceListViewBO properties
     this.Distributor      = obj.Distributor;
     this.Label            = obj.Label;
     this.Name             = obj.Name;
     this.PriceTerm        = obj.PriceTerm;
     this.EditedPrice      = obj.EditedPrice;
     this.CreativeDesign   = obj.CreativeDesign;
     this.StudioDesign     = obj.StudioDesign;
     this.ThirdPartyDesign = obj.ThirdPartyDesign;
     this.Position1        = obj.Position1;
     this.Position2        = obj.Position2;
     this.Position3        = obj.Position3;
     this.FileName         = obj.FileName;
     this.CreatedDate      = obj.CreatedDate;
 }
예제 #2
0
 internal void SetDAL(Indico.DAL.ReturnDownloadPriceListView obj, IndicoEntities context)
 {
     // set the Indico.DAL.ReturnDownloadPriceListView properties
     obj.Distributor      = Convert.ToInt32(Distributor);
     obj.Label            = Convert.ToInt32(Label);
     obj.Name             = Name;
     obj.PriceTerm        = PriceTerm;
     obj.EditedPrice      = Convert.ToBoolean(EditedPrice);
     obj.CreativeDesign   = Convert.ToDecimal(CreativeDesign);
     obj.StudioDesign     = Convert.ToDecimal(StudioDesign);
     obj.ThirdPartyDesign = Convert.ToDecimal(ThirdPartyDesign);
     obj.Position1        = Convert.ToDecimal(Position1);
     obj.Position2        = Convert.ToDecimal(Position2);
     obj.Position3        = Convert.ToDecimal(Position3);
     obj.FileName         = FileName;
     obj.CreatedDate      = Convert.ToDateTime(CreatedDate);
 }