コード例 #1
0
        public void Update(Guid Guid, string FilesystemPath, bool Enabled, bool ReadOnlyX, bool WriteOnlyX,
                           string Description, short FilesystemTierEnum, decimal LowWatermark, decimal HighWatermark)
        {
            var item = new Filesystem();
            item.MarkOld();
            item.IsLoaded = true;

            item.Guid = Guid;

            item.FilesystemPath = FilesystemPath;

            item.Enabled = Enabled;

            item.ReadOnlyX = ReadOnlyX;

            item.WriteOnlyX = WriteOnlyX;

            item.Description = Description;

            item.FilesystemTierEnum = FilesystemTierEnum;

            item.LowWatermark = LowWatermark;

            item.HighWatermark = HighWatermark;

            item.Save(UserName);
        }