Example #1
0
        public void Insert(string SName, string SDesc)
        {
            LRoom item = new LRoom();

            item.SName = SName;

            item.SDesc = SDesc;


            item.Save(UserName);
        }
Example #2
0
        public void Update(short Id, string SName, string SDesc)
        {
            LRoom item = new LRoom();

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

            item.Id = Id;

            item.SName = SName;

            item.SDesc = SDesc;

            item.Save(UserName);
        }