예제 #1
0
        public void Insert(Guid Guid, string Label, string Category, string TextX)
        {
            var item = new CannedText();

            item.Guid = Guid;

            item.Label = Label;

            item.Category = Category;

            item.TextX = TextX;


            item.Save(UserName);
        }
예제 #2
0
        public void Update(Guid Guid, string Label, string Category, string TextX)
        {
            var item = new CannedText();
            item.MarkOld();
            item.IsLoaded = true;

            item.Guid = Guid;

            item.Label = Label;

            item.Category = Category;

            item.TextX = TextX;

            item.Save(UserName);
        }