Exemplo n.º 1
0
        public void Insert(string MeetingLibNumber, string MeetingLibDesc, DateTime?MeetingLibDate, DateTime DateAdded, DateTime?DateModified, bool Deleted)
        {
            TblMeetingLib item = new TblMeetingLib();

            item.MeetingLibNumber = MeetingLibNumber;

            item.MeetingLibDesc = MeetingLibDesc;

            item.MeetingLibDate = MeetingLibDate;

            item.DateAdded = DateAdded;

            item.DateModified = DateModified;

            item.Deleted = Deleted;


            item.Save(UserName);
        }
Exemplo n.º 2
0
        public void Update(int MeetingLibID, string MeetingLibNumber, string MeetingLibDesc, DateTime?MeetingLibDate, DateTime DateAdded, DateTime?DateModified, bool Deleted)
        {
            TblMeetingLib item = new TblMeetingLib();

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

            item.MeetingLibID = MeetingLibID;

            item.MeetingLibNumber = MeetingLibNumber;

            item.MeetingLibDesc = MeetingLibDesc;

            item.MeetingLibDate = MeetingLibDate;

            item.DateAdded = DateAdded;

            item.DateModified = DateModified;

            item.Deleted = Deleted;

            item.Save(UserName);
        }