private ProductPricingTierDTO Map(tblPricingTier tbl)
 {
     var dto = new ProductPricingTierDTO
                   {
                       MasterId = tbl.id,
                       DateCreated = tbl.IM_DateCreated,
                       DateLastUpdated = tbl.IM_DateLastUpdated,
                       StatusId = tbl.IM_Status,
                       Name = tbl.Name,
                       Code = tbl.Code,
                       Description = tbl.Description
                   };
     return dto;
 }
 /// <summary>
 /// Create a new tblPricingTier object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="iM_DateCreated">Initial value of the IM_DateCreated property.</param>
 /// <param name="iM_DateLastUpdated">Initial value of the IM_DateLastUpdated property.</param>
 /// <param name="iM_Status">Initial value of the IM_Status property.</param>
 public static tblPricingTier CreatetblPricingTier(global::System.Guid id, global::System.String name, global::System.DateTime iM_DateCreated, global::System.DateTime iM_DateLastUpdated, global::System.Int32 iM_Status)
 {
     tblPricingTier tblPricingTier = new tblPricingTier();
     tblPricingTier.id = id;
     tblPricingTier.Name = name;
     tblPricingTier.IM_DateCreated = iM_DateCreated;
     tblPricingTier.IM_DateLastUpdated = iM_DateLastUpdated;
     tblPricingTier.IM_Status = iM_Status;
     return tblPricingTier;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the tblPricingTier EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblPricingTier(tblPricingTier tblPricingTier)
 {
     base.AddObject("tblPricingTier", tblPricingTier);
 }