aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-05-22 00:19:41 -0700
committerRob Mensching <rob@firegiant.com>2019-05-23 15:43:40 -0700
commit54541ef517190f37d0625627b028834f0871a959 (patch)
tree91ff4d813d5013260c04854a9ad24812ccdffa08 /src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs
parent505fe69d85c90184cd37290ccb0120fec6074c20 (diff)
downloadwix-54541ef517190f37d0625627b028834f0871a959.tar.gz
wix-54541ef517190f37d0625627b028834f0871a959.tar.bz2
wix-54541ef517190f37d0625627b028834f0871a959.zip
Implement many more strong tuples
Also fixes several warnings.
Diffstat (limited to 'src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs')
-rw-r--r--src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs b/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs
index ebf35895..7eee0b38 100644
--- a/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs
+++ b/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs
@@ -10,7 +10,6 @@ namespace WixToolset.Data
10 TupleDefinitionType.ODBCDataSource, 10 TupleDefinitionType.ODBCDataSource,
11 new[] 11 new[]
12 { 12 {
13 new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.DataSource), IntermediateFieldType.String),
14 new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Component_), IntermediateFieldType.String), 13 new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Component_), IntermediateFieldType.String),
15 new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Description), IntermediateFieldType.String), 14 new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Description), IntermediateFieldType.String),
16 new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.DriverDescription), IntermediateFieldType.String), 15 new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.DriverDescription), IntermediateFieldType.String),
@@ -24,7 +23,6 @@ namespace WixToolset.Data.Tuples
24{ 23{
25 public enum ODBCDataSourceTupleFields 24 public enum ODBCDataSourceTupleFields
26 { 25 {
27 DataSource,
28 Component_, 26 Component_,
29 Description, 27 Description,
30 DriverDescription, 28 DriverDescription,
@@ -43,12 +41,6 @@ namespace WixToolset.Data.Tuples
43 41
44 public IntermediateField this[ODBCDataSourceTupleFields index] => this.Fields[(int)index]; 42 public IntermediateField this[ODBCDataSourceTupleFields index] => this.Fields[(int)index];
45 43
46 public string DataSource
47 {
48 get => (string)this.Fields[(int)ODBCDataSourceTupleFields.DataSource];
49 set => this.Set((int)ODBCDataSourceTupleFields.DataSource, value);
50 }
51
52 public string Component_ 44 public string Component_
53 { 45 {
54 get => (string)this.Fields[(int)ODBCDataSourceTupleFields.Component_]; 46 get => (string)this.Fields[(int)ODBCDataSourceTupleFields.Component_];
@@ -73,4 +65,4 @@ namespace WixToolset.Data.Tuples
73 set => this.Set((int)ODBCDataSourceTupleFields.Registration, value); 65 set => this.Set((int)ODBCDataSourceTupleFields.Registration, value);
74 } 66 }
75 } 67 }
76} \ No newline at end of file 68}