Пример #1
0
        public void Insert(string CountryName, int?CompanyGroup)
        {
            PricerCountryName item = new PricerCountryName();

            item.CountryName = CountryName;

            item.CompanyGroup = CompanyGroup;


            item.Save(UserName);
        }
Пример #2
0
        public void Update(int CountryId, string CountryName, int?CompanyGroup)
        {
            PricerCountryName item = new PricerCountryName();

            item.MarkOld();
            item.IsLoaded = true;

            item.CountryId = CountryId;

            item.CountryName = CountryName;

            item.CompanyGroup = CompanyGroup;

            item.Save(UserName);
        }
Пример #3
0
 public bool Destroy(object CountryId)
 {
     return(PricerCountryName.Destroy(CountryId) == 1);
 }
Пример #4
0
 public bool Delete(object CountryId)
 {
     return(PricerCountryName.Delete(CountryId) == 1);
 }