internal void SetBO(Indico.DAL.ClientOrderDetailsView obj) { // set the Indico.BusinessObjects.ClientOrderDetailsViewBO properties this.OrderDetailId = obj.OrderDetailId; this.CompanyId = obj.CompanyId; this.CompanyName = obj.CompanyName; this.OrderId = obj.OrderId; this.Date = obj.Date; this.DesiredDeliveryDate = obj.DesiredDeliveryDate; this.OrderNumber = obj.OrderNumber; this.IsTemporary = obj.IsTemporary; this.ClientId = obj.ClientId; this.ClientName = obj.ClientName; this.OrderTypeId = obj.OrderTypeId; this.OrderType = obj.OrderType; this.VisualLayoutId = obj.VisualLayoutId; this.NamePrefix = obj.NamePrefix; this.NameSuffix = obj.NameSuffix; this.PatternId = obj.PatternId; this.PatternNumber = obj.PatternNumber; this.FabricId = obj.FabricId; this.Fabric = obj.Fabric; this.FabricNickName = obj.FabricNickName; this.StatusId = obj.StatusId; this.Status = obj.Status; }
internal void SetDAL(Indico.DAL.ClientOrderDetailsView obj, IndicoEntities context) { // set the Indico.DAL.ClientOrderDetailsView properties obj.OrderDetailId = Convert.ToInt32(OrderDetailId); obj.CompanyId = Convert.ToInt32(CompanyId); obj.CompanyName = CompanyName; obj.OrderId = Convert.ToInt32(OrderId); obj.Date = Convert.ToDateTime(Date); obj.DesiredDeliveryDate = Convert.ToDateTime(DesiredDeliveryDate); obj.OrderNumber = OrderNumber; obj.IsTemporary = Convert.ToBoolean(IsTemporary); obj.ClientId = Convert.ToInt32(ClientId); obj.ClientName = ClientName; obj.OrderTypeId = Convert.ToInt32(OrderTypeId); obj.OrderType = OrderType; obj.VisualLayoutId = Convert.ToInt32(VisualLayoutId); obj.NamePrefix = NamePrefix; obj.NameSuffix = Convert.ToInt32(NameSuffix); obj.PatternId = Convert.ToInt32(PatternId); obj.PatternNumber = PatternNumber; obj.FabricId = Convert.ToInt32(FabricId); obj.Fabric = Fabric; obj.FabricNickName = FabricNickName; obj.StatusId = Convert.ToInt32(StatusId); obj.Status = Status; }