コード例 #1
0
        public void Insert(int?Type, string Note, DateTime?DateCreated)
        {
            OrderNote item = new OrderNote();

            item.Type = Type;

            item.Note = Note;

            item.DateCreated = DateCreated;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int Id, int?Type, string Note, DateTime?DateCreated)
        {
            OrderNote item = new OrderNote();

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

            item.Id = Id;

            item.Type = Type;

            item.Note = Note;

            item.DateCreated = DateCreated;

            item.Save(UserName);
        }