예제 #1
0
        public void Insert(string Name, DateTime ModifiedDate)
        {
            ContactType item = new ContactType();

            item.Name = Name;

            item.ModifiedDate = ModifiedDate;


            item.Save(UserName);
        }
예제 #2
0
        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);
        }