예제 #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);
 }