public void Insert(string Name, string CreatedBy, DateTime CreatedOn, string ModifiedBy, DateTime ModifiedOn)
        {
            ShippingEstimate item = new ShippingEstimate();

            item.Name = Name;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;


            item.Save(UserName);
        }
        public void Update(int ShippingEstimateId, string Name, string CreatedBy, DateTime CreatedOn, string ModifiedBy, DateTime ModifiedOn)
        {
            ShippingEstimate item = new ShippingEstimate();

            item.ShippingEstimateId = ShippingEstimateId;

            item.Name = Name;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;

            item.MarkOld();
            item.Save(UserName);
        }