Esempio n. 1
0
        private void SaveRecord()
        {
            ContactGroupDetails clsDetails = new ContactGroupDetails();

            clsDetails.ContactGroupID       = Convert.ToInt16(lblContactGroupID.Text);
            clsDetails.ContactGroupCode     = txtContactGroupCode.Text;
            clsDetails.ContactGroupName     = txtContactGroupName.Text;
            clsDetails.ContactGroupCategory = (ContactGroupCategory)Enum.Parse(typeof(ContactGroupCategory), cboContactGroupCategory.SelectedItem.Value);

            ContactGroups clsContactGroup = new ContactGroups();

            clsContactGroup.Update(clsDetails);
            clsContactGroup.CommitAndDispose();
        }
Esempio n. 2
0
 public ContactGroup Update(ContactGroup item)
 {
     return(ContactGroups.Update(item));
 }
Esempio n. 3
0
 public IEnumerable <ContactGroup> Update(IEnumerable <ContactGroup> items)
 {
     return(ContactGroups.Update(items));
 }