示例#1
0
        /// <summary>
        /// Delet header reocord and related details record
        /// </summary>
        /// <param name="id"></param>
        public virtual void Delete(string id)
        {
            CreateBusinessEntities();
            var filter = "(IDCUST = \"" + id + "\")";

            _detail.FilterDelete(filter, ViewFilterStrictness.Simulate);
            _header.FilterDelete(filter, ViewFilterStrictness.Simulate);
        }