Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        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);
        }