public void Insert(int InfoCountryKey,string CountryValue,string CountryText,string CountryCode,string PhoneCode) { InfoCountryList item = new InfoCountryList(); item.InfoCountryKey = InfoCountryKey; item.CountryValue = CountryValue; item.CountryText = CountryText; item.CountryCode = CountryCode; item.PhoneCode = PhoneCode; item.Save(UserName); }
public void Update(int InfoCountryKey,string CountryValue,string CountryText,string CountryCode,string PhoneCode) { InfoCountryList item = new InfoCountryList(); item.MarkOld(); item.IsLoaded = true; item.InfoCountryKey = InfoCountryKey; item.CountryValue = CountryValue; item.CountryText = CountryText; item.CountryCode = CountryCode; item.PhoneCode = PhoneCode; item.Save(UserName); }