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