aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/WindowsInstaller/Rows/WixSimpleReferenceRow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/WindowsInstaller/Rows/WixSimpleReferenceRow.cs')
-rw-r--r--src/WixToolset.Data/WindowsInstaller/Rows/WixSimpleReferenceRow.cs61
1 files changed, 0 insertions, 61 deletions
diff --git a/src/WixToolset.Data/WindowsInstaller/Rows/WixSimpleReferenceRow.cs b/src/WixToolset.Data/WindowsInstaller/Rows/WixSimpleReferenceRow.cs
deleted file mode 100644
index bf7dfb0e..00000000
--- a/src/WixToolset.Data/WindowsInstaller/Rows/WixSimpleReferenceRow.cs
+++ /dev/null
@@ -1,61 +0,0 @@
1// 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.
2
3namespace WixToolset.Data.WindowsInstaller.Rows
4{
5 using System;
6
7 /// <summary>
8 /// Specialization of a row for the WixSimpleReference table.
9 /// </summary>
10 public sealed class WixSimpleReferenceRow : Row
11 {
12 /// <summary>
13 /// Creates a WixSimpleReferenceRow that belongs to a table.
14 /// </summary>
15 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
16 /// <param name="table">Table this row belongs to and should get its column definitions from.</param>
17 public WixSimpleReferenceRow(SourceLineNumber sourceLineNumbers, Table table)
18 : base(sourceLineNumbers, table)
19 {
20 }
21
22 /// <summary>
23 /// Creates a WixSimpleReferenceRow that belongs to a table.
24 /// </summary>
25 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
26 /// <param name="tableDefinitions">Table definitions for this row.</param>
27 public WixSimpleReferenceRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDefinitions)
28 : base(sourceLineNumbers, tableDefinitions)
29 {
30 }
31
32 /// <summary>
33 /// Gets or sets the primary keys of the simple reference.
34 /// </summary>
35 /// <value>The primary keys of the simple reference.</value>
36 public string PrimaryKeys
37 {
38 get { return (string)this.Fields[1].Data; }
39 set { this.Fields[1].Data = value; }
40 }
41
42 /// <summary>
43 /// Gets the symbolic name.
44 /// </summary>
45 /// <value>Symbolic name.</value>
46 public string SymbolicName
47 {
48 get { return String.Concat(this.TableName, ":", this.PrimaryKeys); }
49 }
50
51 /// <summary>
52 /// Gets or sets the table name of the simple reference.
53 /// </summary>
54 /// <value>The table name of the simple reference.</value>
55 public string TableName
56 {
57 get { return (string)this.Fields[0].Data; }
58 set { this.Fields[0].Data = value; }
59 }
60 }
61}