// 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
{
using System;
///
/// Update registration information for Binding.
///
public class WixUpdateRegistrationRow : Row
{
///
/// Creates a WixUpdateRegistrationRow row that does not belong to a table.
///
/// Original source lines for this row.
/// TableDefinition this WixUpdateRegistrationRow row belongs to and should get its column definitions from.
public WixUpdateRegistrationRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
base(sourceLineNumbers, tableDef)
{
}
///
/// Creates a WixUpdateRegistrationRow row that belongs to a table.
///
/// Original source lines for this row.
/// Table this WixUpdateRegistrationRow row belongs to and should get its column definitions from.
public WixUpdateRegistrationRow(SourceLineNumber sourceLineNumbers, Table table) :
base(sourceLineNumbers, table)
{
}
public string Manufacturer
{
get { return (string)this.Fields[0].Data; }
set { this.Fields[0].Data = value; }
}
public string Department
{
get { return (string)this.Fields[1].Data; }
set { this.Fields[1].Data = value; }
}
public string ProductFamily
{
get { return (string)this.Fields[2].Data; }
set { this.Fields[2].Data = value; }
}
public string Name
{
get { return (string)this.Fields[3].Data; }
set { this.Fields[3].Data = value; }
}
public string Classification
{
get { return (string)this.Fields[4].Data; }
set { this.Fields[4].Data = value; }
}
}
}