public void Insert(string CountryName, bool?Eu, string ISOCode, byte[] Ts)
        {
            CountryTable item = new CountryTable();

            item.CountryName = CountryName;

            item.Eu = Eu;

            item.ISOCode = ISOCode;

            item.Ts = Ts;


            item.Save(UserName);
        }
        public void Update(int CountryID, string CountryName, bool?Eu, string ISOCode, byte[] Ts)
        {
            CountryTable item = new CountryTable();

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

            item.CountryID = CountryID;

            item.CountryName = CountryName;

            item.Eu = Eu;

            item.ISOCode = ISOCode;

            item.Ts = Ts;

            item.Save(UserName);
        }
 public bool Destroy(object CountryID)
 {
     return(CountryTable.Destroy(CountryID) == 1);
 }
 public bool Delete(object CountryID)
 {
     return(CountryTable.Delete(CountryID) == 1);
 }