// 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.WindowsInstaller.Rows
{
///
/// Specialization of a row for the MsiFeature table.
///
public class WixBundleMsiFeatureRow : Row
{
///
/// Creates a MsiFeatureRow 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 WixBundleMsiFeatureRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
base(sourceLineNumbers, tableDef)
{
}
///
/// Creates a MsiFeatureRow row that belongs to a table.
///
/// Original source lines for this row.
/// Table this Media row belongs to and should get its column definitions from.
public WixBundleMsiFeatureRow(SourceLineNumber sourceLineNumbers, Table table) :
base(sourceLineNumbers, table)
{
}
///
/// Gets or sets the foreign key identifier to the ChainPackage row.
///
public string ChainPackageId
{
get { return (string)this.Fields[0].Data; }
set { this.Fields[0].Data = value; }
}
public string Name
{
get { return (string)this.Fields[1].Data; }
set { this.Fields[1].Data = value; }
}
public long Size
{
get { return (long)this.Fields[2].Data; }
set { this.Fields[2].Data = value; }
}
public string Parent
{
get { return (string)this.Fields[3].Data; }
set { this.Fields[3].Data = value; }
}
public string Title
{
get { return (string)this.Fields[4].Data; }
set { this.Fields[4].Data = value; }
}
public string Description
{
get { return (string)this.Fields[5].Data; }
set { this.Fields[5].Data = value; }
}
public int Display
{
get { return (int)this.Fields[6].Data; }
set { this.Fields[6].Data = value; }
}
public int Level
{
get { return (int)this.Fields[7].Data; }
set { this.Fields[7].Data = value; }
}
public string Directory
{
get { return (string)this.Fields[8].Data; }
set { this.Fields[8].Data = value; }
}
public int Attributes
{
get { return (int)this.Fields[9].Data; }
set { this.Fields[9].Data = value; }
}
}
}