public void Insert(int PortId, string PortName, string Description) { var item = new DDevicePort(); item.PortId = PortId; item.PortName = PortName; item.Description = Description; item.Save(UserName); }
public void Update(int PortId, string PortName, string Description) { var item = new DDevicePort(); item.MarkOld(); item.IsLoaded = true; item.PortId = PortId; item.PortName = PortName; item.Description = Description; item.Save(UserName); }
public bool Destroy(object PortId) { return(DDevicePort.Destroy(PortId) == 1); }
public bool Delete(object PortId) { return(DDevicePort.Delete(PortId) == 1); }