diff options
Diffstat (limited to 'src/wixext/Tuples/SqlFileSpecTuple.cs')
-rw-r--r-- | src/wixext/Tuples/SqlFileSpecTuple.cs | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/src/wixext/Tuples/SqlFileSpecTuple.cs b/src/wixext/Tuples/SqlFileSpecTuple.cs index 98a3002b..d9eecc62 100644 --- a/src/wixext/Tuples/SqlFileSpecTuple.cs +++ b/src/wixext/Tuples/SqlFileSpecTuple.cs | |||
@@ -3,29 +3,29 @@ | |||
3 | namespace WixToolset.Sql | 3 | namespace WixToolset.Sql |
4 | { | 4 | { |
5 | using WixToolset.Data; | 5 | using WixToolset.Data; |
6 | using WixToolset.Sql.Tuples; | 6 | using WixToolset.Sql.Symbols; |
7 | 7 | ||
8 | public static partial class SqlTupleDefinitions | 8 | public static partial class SqlSymbolDefinitions |
9 | { | 9 | { |
10 | public static readonly IntermediateTupleDefinition SqlFileSpec = new IntermediateTupleDefinition( | 10 | public static readonly IntermediateSymbolDefinition SqlFileSpec = new IntermediateSymbolDefinition( |
11 | SqlTupleDefinitionType.SqlFileSpec.ToString(), | 11 | SqlSymbolDefinitionType.SqlFileSpec.ToString(), |
12 | new[] | 12 | new[] |
13 | { | 13 | { |
14 | new IntermediateFieldDefinition(nameof(SqlFileSpecTupleFields.Name), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(SqlFileSpecSymbolFields.Name), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(SqlFileSpecTupleFields.Filename), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(SqlFileSpecSymbolFields.Filename), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(SqlFileSpecTupleFields.Size), IntermediateFieldType.String), | 16 | new IntermediateFieldDefinition(nameof(SqlFileSpecSymbolFields.Size), IntermediateFieldType.String), |
17 | new IntermediateFieldDefinition(nameof(SqlFileSpecTupleFields.MaxSize), IntermediateFieldType.String), | 17 | new IntermediateFieldDefinition(nameof(SqlFileSpecSymbolFields.MaxSize), IntermediateFieldType.String), |
18 | new IntermediateFieldDefinition(nameof(SqlFileSpecTupleFields.GrowthSize), IntermediateFieldType.String), | 18 | new IntermediateFieldDefinition(nameof(SqlFileSpecSymbolFields.GrowthSize), IntermediateFieldType.String), |
19 | }, | 19 | }, |
20 | typeof(SqlFileSpecTuple)); | 20 | typeof(SqlFileSpecSymbol)); |
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||
24 | namespace WixToolset.Sql.Tuples | 24 | namespace WixToolset.Sql.Symbols |
25 | { | 25 | { |
26 | using WixToolset.Data; | 26 | using WixToolset.Data; |
27 | 27 | ||
28 | public enum SqlFileSpecTupleFields | 28 | public enum SqlFileSpecSymbolFields |
29 | { | 29 | { |
30 | Name, | 30 | Name, |
31 | Filename, | 31 | Filename, |
@@ -34,46 +34,46 @@ namespace WixToolset.Sql.Tuples | |||
34 | GrowthSize, | 34 | GrowthSize, |
35 | } | 35 | } |
36 | 36 | ||
37 | public class SqlFileSpecTuple : IntermediateTuple | 37 | public class SqlFileSpecSymbol : IntermediateSymbol |
38 | { | 38 | { |
39 | public SqlFileSpecTuple() : base(SqlTupleDefinitions.SqlFileSpec, null, null) | 39 | public SqlFileSpecSymbol() : base(SqlSymbolDefinitions.SqlFileSpec, null, null) |
40 | { | 40 | { |
41 | } | 41 | } |
42 | 42 | ||
43 | public SqlFileSpecTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SqlTupleDefinitions.SqlFileSpec, sourceLineNumber, id) | 43 | public SqlFileSpecSymbol(SourceLineNumber sourceLineNumber, Identifier id = null) : base(SqlSymbolDefinitions.SqlFileSpec, sourceLineNumber, id) |
44 | { | 44 | { |
45 | } | 45 | } |
46 | 46 | ||
47 | public IntermediateField this[SqlFileSpecTupleFields index] => this.Fields[(int)index]; | 47 | public IntermediateField this[SqlFileSpecSymbolFields index] => this.Fields[(int)index]; |
48 | 48 | ||
49 | public string Name | 49 | public string Name |
50 | { | 50 | { |
51 | get => this.Fields[(int)SqlFileSpecTupleFields.Name].AsString(); | 51 | get => this.Fields[(int)SqlFileSpecSymbolFields.Name].AsString(); |
52 | set => this.Set((int)SqlFileSpecTupleFields.Name, value); | 52 | set => this.Set((int)SqlFileSpecSymbolFields.Name, value); |
53 | } | 53 | } |
54 | 54 | ||
55 | public string Filename | 55 | public string Filename |
56 | { | 56 | { |
57 | get => this.Fields[(int)SqlFileSpecTupleFields.Filename].AsString(); | 57 | get => this.Fields[(int)SqlFileSpecSymbolFields.Filename].AsString(); |
58 | set => this.Set((int)SqlFileSpecTupleFields.Filename, value); | 58 | set => this.Set((int)SqlFileSpecSymbolFields.Filename, value); |
59 | } | 59 | } |
60 | 60 | ||
61 | public string Size | 61 | public string Size |
62 | { | 62 | { |
63 | get => this.Fields[(int)SqlFileSpecTupleFields.Size].AsString(); | 63 | get => this.Fields[(int)SqlFileSpecSymbolFields.Size].AsString(); |
64 | set => this.Set((int)SqlFileSpecTupleFields.Size, value); | 64 | set => this.Set((int)SqlFileSpecSymbolFields.Size, value); |
65 | } | 65 | } |
66 | 66 | ||
67 | public string MaxSize | 67 | public string MaxSize |
68 | { | 68 | { |
69 | get => this.Fields[(int)SqlFileSpecTupleFields.MaxSize].AsString(); | 69 | get => this.Fields[(int)SqlFileSpecSymbolFields.MaxSize].AsString(); |
70 | set => this.Set((int)SqlFileSpecTupleFields.MaxSize, value); | 70 | set => this.Set((int)SqlFileSpecSymbolFields.MaxSize, value); |
71 | } | 71 | } |
72 | 72 | ||
73 | public string GrowthSize | 73 | public string GrowthSize |
74 | { | 74 | { |
75 | get => this.Fields[(int)SqlFileSpecTupleFields.GrowthSize].AsString(); | 75 | get => this.Fields[(int)SqlFileSpecSymbolFields.GrowthSize].AsString(); |
76 | set => this.Set((int)SqlFileSpecTupleFields.GrowthSize, value); | 76 | set => this.Set((int)SqlFileSpecSymbolFields.GrowthSize, value); |
77 | } | 77 | } |
78 | } | 78 | } |
79 | } \ No newline at end of file | 79 | } \ No newline at end of file |