// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. namespace WixToolset.Data.Rows { /// /// Specialization of a row for the WixDeltaPatchFile table. /// public sealed class WixDeltaPatchFileRow : Row { /// /// Creates a WixDeltaPatchFile row that does not belong to a table. /// /// Original source lines for this row. /// TableDefinition this Media row belongs to and should get its column definitions from. public WixDeltaPatchFileRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) : base(sourceLineNumbers, tableDef) { } /// /// Creates a WixDeltaPatchFile row that belongs to a table. /// /// Original source lines for this row. /// Table this File row belongs to and should get its column definitions from. public WixDeltaPatchFileRow(SourceLineNumber sourceLineNumbers, Table table) : base(sourceLineNumbers, table) { } /// /// Gets or sets the primary key of the file row. /// /// Primary key of the file row. public string File { get { return (string)this.Fields[0].Data; } set { this.Fields[0].Data = value; } } /// /// Gets or sets the delta patch retain-length list for the file. /// /// RetainLength list for the file. public string RetainLengths { get { return (string)this.Fields[1].Data; } set { this.Fields[1].Data = value; } } /// /// Gets or sets the previous delta patch retain-length list for the file. /// /// Previous RetainLength list for the file. public string PreviousRetainLengths { get { return this.Fields[1].PreviousData; } set { this.Fields[1].PreviousData = value; } } /// /// Gets or sets the delta patch ignore-offset list for the file. /// /// IgnoreOffset list for the file. public string IgnoreOffsets { get { return (string)this.Fields[2].Data; } set { this.Fields[2].Data = value; } } /// /// Gets or sets the previous delta patch ignore-offset list for the file. /// /// Previous IgnoreOffset list for the file. public string PreviousIgnoreOffsets { get { return this.Fields[2].PreviousData; } set { this.Fields[2].PreviousData = value; } } /// /// Gets or sets the delta patch ignore-length list for the file. /// /// IgnoreLength list for the file. public string IgnoreLengths { get { return (string)this.Fields[3].Data; } set { this.Fields[3].Data = value; } } /// /// Gets or sets the previous delta patch ignore-length list for the file. /// /// Previous IgnoreLength list for the file. public string PreviousIgnoreLengths { get { return this.Fields[3].PreviousData; } set { this.Fields[3].PreviousData = value; } } /// /// Gets or sets the delta patch retain-offset list for the file. /// /// RetainOffset list for the file. public string RetainOffsets { get { return (string)this.Fields[4].Data; } set { this.Fields[4].Data = value; } } /// /// Gets or sets the previous delta patch retain-offset list for the file. /// /// PreviousRetainOffset list for the file. public string PreviousRetainOffsets { get { return this.Fields[4].PreviousData; } set { this.Fields[4].PreviousData = value; } } /// /// Gets or sets the symbol paths for the file. /// /// SymbolPath list for the file. /// This is set during binding. public string Symbols { get { return (string)this.Fields[5].Data; } set { this.Fields[5].Data = value; } } /// /// Gets or sets the previous symbol paths for the file. /// /// PreviousSymbolPath list for the file. /// This is set during binding. public string PreviousSymbols { get { return (string)this.Fields[5].PreviousData; } set { this.Fields[5].PreviousData = value; } } } }