Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DbParameter.cs
Go to the documentation of this file.
3
4namespace System.Data.Common;
5
7{
8 [Browsable(false)]
11 public abstract DbType DbType { get; set; }
12
13 [DefaultValue(ParameterDirection.Input)]
15 public abstract ParameterDirection Direction { get; set; }
16
17 [Browsable(false)]
18 [DesignOnly(true)]
19 [EditorBrowsable(EditorBrowsableState.Never)]
20 public abstract bool IsNullable { get; set; }
21
22 [DefaultValue("")]
23 public abstract string ParameterName
24 {
25 get; [param: AllowNull]
26 set;
27 }
28
29 byte IDbDataParameter.Precision
30 {
31 get
32 {
33 return 0;
34 }
35 set
36 {
37 }
38 }
39
40 byte IDbDataParameter.Scale
41 {
42 get
43 {
44 return 0;
45 }
46 set
47 {
48 }
49 }
50
51 public virtual byte Precision
52 {
53 get
54 {
55 return ((IDbDataParameter)this).Precision;
56 }
57 set
58 {
59 ((IDbDataParameter)this).Precision = value;
60 }
61 }
62
63 public virtual byte Scale
64 {
65 get
66 {
67 return ((IDbDataParameter)this).Scale;
68 }
69 set
70 {
71 ((IDbDataParameter)this).Scale = value;
72 }
73 }
74
75 public abstract int Size { get; set; }
76
77 [DefaultValue("")]
78 public abstract string SourceColumn
79 {
80 get; [param: AllowNull]
81 set;
82 }
83
84 [DefaultValue(false)]
85 [EditorBrowsable(EditorBrowsableState.Advanced)]
87 public abstract bool SourceColumnNullMapping { get; set; }
88
89 [DefaultValue(DataRowVersion.Current)]
91 {
92 get
93 {
94 return DataRowVersion.Default;
95 }
96 set
97 {
98 }
99 }
100
101 [DefaultValue(null)]
103 public abstract object? Value { get; set; }
104
105 [EditorBrowsable(EditorBrowsableState.Advanced)]
106 public abstract void ResetDbType();
107}
virtual DataRowVersion SourceVersion
byte IDbDataParameter. Scale
ParameterDirection Direction
byte IDbDataParameter. Precision