34 references to Format
System.Data (34)
fx\src\data\System\Data\Common\AdapterUtil.cs (4)
701
static internal ArgumentOutOfRangeException InvalidUserDefinedTypeSerializationFormat(Microsoft.SqlServer.Server.
Format
value) {
711
return InvalidEnumerationValue(typeof(Microsoft.SqlServer.Server.
Format
), (int) value);
714
static internal ArgumentOutOfRangeException NotSupportedUserDefinedTypeSerializationFormat(Microsoft.SqlServer.Server.
Format
value, string method) {
715
return ADP.NotSupportedEnumerationValue(typeof(Microsoft.SqlServer.Server.
Format
), value.ToString(), method);
fx\src\data\System\Data\Sql\sqlser.cs (7)
52
Format
k = GetFormat(t);
67
private static
Format
GetFormat(Type t) {
95
if (
Format
.Native == udtInfo.SerializationFormat) {
126
Format
k = GetFormat(t);
129
case
Format
.Native:
131
case
Format
.UserDefined:
133
case
Format
.Unknown: // should never happen, but fall through
fx\src\data\System\Data\Sql\SqlUserDefinedAggregateAttribute.cs (8)
30
private
Format
m_format;
38
public SqlUserDefinedAggregateAttribute(
Format
format) {
40
case
Format
.Unknown:
41
throw ADP.NotSupportedUserDefinedTypeSerializationFormat((Microsoft.SqlServer.Server.
Format
)format, "format");
42
case
Format
.Native:
43
case
Format
.UserDefined:
47
throw ADP.InvalidUserDefinedTypeSerializationFormat((Microsoft.SqlServer.Server.
Format
)format);
104
public
Format
Format {
fx\src\data\System\Data\Sql\SqlUserDefinedTypeAttribute.cs (8)
37
private
Format
m_format;
47
public SqlUserDefinedTypeAttribute(
Format
format) {
49
case
Format
.Unknown:
50
throw ADP.NotSupportedUserDefinedTypeSerializationFormat((Microsoft.SqlServer.Server.
Format
)format, "format");
51
case
Format
.Native:
52
case
Format
.UserDefined:
56
throw ADP.InvalidUserDefinedTypeSerializationFormat((Microsoft.SqlServer.Server.
Format
)format);
100
public
Format
Format {
fx\src\data\System\Data\SqlClient\SqlConnection.cs (3)
2270
Microsoft.SqlServer.Server.
Format
format = Microsoft.SqlServer.Server.
Format
.Native;
2275
internal byte[] GetBytes(object o, out Microsoft.SqlServer.Server.
Format
format, out int maxSize) {
fx\src\data\System\Data\SqlClient\SqlUdtInfo.cs (2)
31
internal readonly Microsoft.SqlServer.Server.
Format
SerializationFormat;
39
SerializationFormat = (Microsoft.SqlServer.Server.
Format
)attr.Format;
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
8375
Microsoft.SqlServer.Server.
Format
format = Microsoft.SqlServer.Server.
Format
.Native;