Example #1
0
        public void Insert(string IPAddress, string Description)
        {
            var item = new LTcpip();

            item.IPAddress = IPAddress;

            item.Description = Description;


            item.Save(UserName);
        }
Example #2
0
        public void Update(int Id, string IPAddress, string Description)
        {
            var item = new LTcpip();

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

            item.Id = Id;

            item.IPAddress = IPAddress;

            item.Description = Description;

            item.Save(UserName);
        }
Example #3
0
 public bool Destroy(object Id)
 {
     return(LTcpip.Destroy(Id) == 1);
 }
Example #4
0
 public bool Delete(object Id)
 {
     return(LTcpip.Delete(Id) == 1);
 }