public void DelAreaCountry(string id, int tid)
        {
            LogisticsAreaCountryType logc = new LogisticsAreaCountryType {
                CountryCode = id.ToString(), AreaCode = tid
            };
            IList <LogisticsAreaCountryType> list = NSession.CreateCriteria(typeof(LogisticsAreaCountryType))
                                                    .Add(Example.Create(logc))
                                                    .List <LogisticsAreaCountryType>();

            foreach (LogisticsAreaCountryType item in list)
            {
                NSession.Delete(item);
                NSession.Flush();
            }
        }