public void Insert(string Name, DateTime ModifiedDate) { ContactType item = new ContactType(); item.Name = Name; item.ModifiedDate = ModifiedDate; item.Save(UserName); }
public void Update(int ContactTypeID, string Name, DateTime ModifiedDate) { ContactType item = new ContactType(); item.ContactTypeID = ContactTypeID; item.Name = Name; item.ModifiedDate = ModifiedDate; item.MarkOld(); item.Save(UserName); }