diff options
Diffstat (limited to 'src/wixext/Tuples/SqlStringTuple.cs')
| -rw-r--r-- | src/wixext/Tuples/SqlStringTuple.cs | 38 |
1 files changed, 15 insertions, 23 deletions
diff --git a/src/wixext/Tuples/SqlStringTuple.cs b/src/wixext/Tuples/SqlStringTuple.cs index d2cba0e0..77882d33 100644 --- a/src/wixext/Tuples/SqlStringTuple.cs +++ b/src/wixext/Tuples/SqlStringTuple.cs | |||
| @@ -11,11 +11,10 @@ namespace WixToolset.Sql | |||
| 11 | SqlTupleDefinitionType.SqlString.ToString(), | 11 | SqlTupleDefinitionType.SqlString.ToString(), |
| 12 | new[] | 12 | new[] |
| 13 | { | 13 | { |
| 14 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.String), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.SqlDbRef), IntermediateFieldType.String), |
| 15 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.SqlDb_), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.ComponentRef), IntermediateFieldType.String), |
| 16 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.Component_), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.SQL), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.SQL), IntermediateFieldType.String), |
| 18 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.User_), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.UserRef), IntermediateFieldType.String), |
| 19 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.Attributes), IntermediateFieldType.Number), | 18 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.Attributes), IntermediateFieldType.Number), |
| 20 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.Sequence), IntermediateFieldType.Number), | 19 | new IntermediateFieldDefinition(nameof(SqlStringTupleFields.Sequence), IntermediateFieldType.Number), |
| 21 | }, | 20 | }, |
| @@ -29,11 +28,10 @@ namespace WixToolset.Sql.Tuples | |||
| 29 | 28 | ||
| 30 | public enum SqlStringTupleFields | 29 | public enum SqlStringTupleFields |
| 31 | { | 30 | { |
| 32 | String, | 31 | SqlDbRef, |
| 33 | SqlDb_, | 32 | ComponentRef, |
| 34 | Component_, | ||
| 35 | SQL, | 33 | SQL, |
| 36 | User_, | 34 | UserRef, |
| 37 | Attributes, | 35 | Attributes, |
| 38 | Sequence, | 36 | Sequence, |
| 39 | } | 37 | } |
| @@ -50,22 +48,16 @@ namespace WixToolset.Sql.Tuples | |||
| 50 | 48 | ||
| 51 | public IntermediateField this[SqlStringTupleFields index] => this.Fields[(int)index]; | 49 | public IntermediateField this[SqlStringTupleFields index] => this.Fields[(int)index]; |
| 52 | 50 | ||
| 53 | public string String | 51 | public string SqlDbRef |
| 54 | { | 52 | { |
| 55 | get => this.Fields[(int)SqlStringTupleFields.String].AsString(); | 53 | get => this.Fields[(int)SqlStringTupleFields.SqlDbRef].AsString(); |
| 56 | set => this.Set((int)SqlStringTupleFields.String, value); | 54 | set => this.Set((int)SqlStringTupleFields.SqlDbRef, value); |
| 57 | } | 55 | } |
| 58 | 56 | ||
| 59 | public string SqlDb_ | 57 | public string ComponentRef |
| 60 | { | 58 | { |
| 61 | get => this.Fields[(int)SqlStringTupleFields.SqlDb_].AsString(); | 59 | get => this.Fields[(int)SqlStringTupleFields.ComponentRef].AsString(); |
| 62 | set => this.Set((int)SqlStringTupleFields.SqlDb_, value); | 60 | set => this.Set((int)SqlStringTupleFields.ComponentRef, value); |
| 63 | } | ||
| 64 | |||
| 65 | public string Component_ | ||
| 66 | { | ||
| 67 | get => this.Fields[(int)SqlStringTupleFields.Component_].AsString(); | ||
| 68 | set => this.Set((int)SqlStringTupleFields.Component_, value); | ||
| 69 | } | 61 | } |
| 70 | 62 | ||
| 71 | public string SQL | 63 | public string SQL |
| @@ -74,10 +66,10 @@ namespace WixToolset.Sql.Tuples | |||
| 74 | set => this.Set((int)SqlStringTupleFields.SQL, value); | 66 | set => this.Set((int)SqlStringTupleFields.SQL, value); |
| 75 | } | 67 | } |
| 76 | 68 | ||
| 77 | public string User_ | 69 | public string UserRef |
| 78 | { | 70 | { |
| 79 | get => this.Fields[(int)SqlStringTupleFields.User_].AsString(); | 71 | get => this.Fields[(int)SqlStringTupleFields.UserRef].AsString(); |
| 80 | set => this.Set((int)SqlStringTupleFields.User_, value); | 72 | set => this.Set((int)SqlStringTupleFields.UserRef, value); |
| 81 | } | 73 | } |
| 82 | 74 | ||
| 83 | public int Attributes | 75 | public int Attributes |
