public void Insert(Guid Guid, Guid ServerPartitionGUID, Guid ServerSopClassGUID, bool Enabled)
        {
            var item = new PartitionSopClass();

            item.Guid = Guid;

            item.ServerPartitionGUID = ServerPartitionGUID;

            item.ServerSopClassGUID = ServerSopClassGUID;

            item.Enabled = Enabled;


            item.Save(UserName);
        }
        public void Update(Guid Guid, Guid ServerPartitionGUID, Guid ServerSopClassGUID, bool Enabled)
        {
            var item = new PartitionSopClass();
            item.MarkOld();
            item.IsLoaded = true;

            item.Guid = Guid;

            item.ServerPartitionGUID = ServerPartitionGUID;

            item.ServerSopClassGUID = ServerSopClassGUID;

            item.Enabled = Enabled;

            item.Save(UserName);
        }