Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
DbParameter.cs
Go to the documentation of this file.
1
using
System.ComponentModel
;
2
using
System.Diagnostics.CodeAnalysis
;
3
4
namespace
System.Data.Common
;
5
6
public
abstract
class
DbParameter
:
MarshalByRefObject
,
IDbDataParameter
,
IDataParameter
7
{
8
[Browsable(
false
)]
9
[
DesignerSerializationVisibility
(
DesignerSerializationVisibility
.Hidden)]
10
[
RefreshProperties
(
RefreshProperties
.All)]
11
public
abstract
DbType
DbType
{
get
;
set
; }
12
13
[DefaultValue(
ParameterDirection
.Input)]
14
[
RefreshProperties
(
RefreshProperties
.All)]
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)]
86
[
RefreshProperties
(
RefreshProperties
.All)]
87
public
abstract
bool
SourceColumnNullMapping
{
get
;
set
; }
88
89
[DefaultValue(
DataRowVersion
.Current)]
90
public
virtual
DataRowVersion
SourceVersion
91
{
92
get
93
{
94
return
DataRowVersion
.Default;
95
}
96
set
97
{
98
}
99
}
100
101
[DefaultValue(
null
)]
102
[
RefreshProperties
(
RefreshProperties
.All)]
103
public
abstract
object
?
Value
{
get
;
set
; }
104
105
[EditorBrowsable(
EditorBrowsableState
.Advanced)]
106
public
abstract
void
ResetDbType
();
107
}
System.Data.Common.DbParameter.SourceVersion
virtual DataRowVersion SourceVersion
Definition
DbParameter.cs:91
System.Data.Common.DbParameter.IsNullable
bool IsNullable
Definition
DbParameter.cs:20
System.Data.Common.DbParameter.Scale
byte IDbDataParameter. Scale
Definition
DbParameter.cs:41
System.Data.Common.DbParameter.SourceColumnNullMapping
bool SourceColumnNullMapping
Definition
DbParameter.cs:87
System.Data.Common.DbParameter.Direction
ParameterDirection Direction
Definition
DbParameter.cs:15
System.Data.Common.DbParameter.Value
object? Value
Definition
DbParameter.cs:103
System.Data.Common.DbParameter.Precision
byte IDbDataParameter. Precision
Definition
DbParameter.cs:30
System.Data.Common.DbParameter.ParameterName
string ParameterName
Definition
DbParameter.cs:24
System.Data.Common.DbParameter.ResetDbType
void ResetDbType()
System.Data.Common.DbParameter.Size
int Size
Definition
DbParameter.cs:75
System.Data.Common.DbParameter.SourceColumn
string SourceColumn
Definition
DbParameter.cs:79
System.Data.Common.DbParameter
Definition
DbParameter.cs:7
System.MarshalByRefObject
Definition
MarshalByRefObject.cs:8
System.Data.IDataParameter
Definition
IDataParameter.cs:6
System.Data.IDbDataParameter
Definition
IDbDataParameter.cs:4
System.ComponentModel.DesignerSerializationVisibility
DesignerSerializationVisibility
Definition
DesignerSerializationVisibility.cs:4
System.ComponentModel.RefreshProperties
RefreshProperties
Definition
RefreshProperties.cs:4
System.ComponentModel.EditorBrowsableState
EditorBrowsableState
Definition
EditorBrowsableState.cs:4
System.ComponentModel
Definition
ColumnAttribute.cs:3
System.Data.Common
Definition
ADP.cs:12
System.Data.ParameterDirection
ParameterDirection
Definition
ParameterDirection.cs:4
System.Data.DataRowVersion
DataRowVersion
Definition
DataRowVersion.cs:4
System.Data.DbType
DbType
Definition
DbType.cs:4
System.Diagnostics.CodeAnalysis
Definition
AllowNullAttribute.cs:1
System.ExceptionArgument.value
@ value
source
System.Data.Common
System.Data.Common
DbParameter.cs
Generated by
1.10.0