File tree 4 files changed +10
-10
lines changed
4 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 2
2
using System . IO ;
3
3
using System . Data ;
4
4
using System . Data . SqlTypes ;
5
- using Microsoft . Data . SqlClient . Server ;
5
+ using Microsoft . SqlServer . Server ;
6
6
using System . Text ;
7
7
8
8
namespace test
@@ -45,7 +45,7 @@ static void Main(string[] args)
45
45
// Bytes 0 - 19: string text, padded to the right with null characters
46
46
// Bytes 20+: Double value
47
47
48
- // using Microsoft.Data.SqlClient .Server;
48
+ // using Microsoft.SqlServer .Server;
49
49
public void Read ( System . IO . BinaryReader r )
50
50
{
51
51
@@ -84,7 +84,7 @@ public void Read(System.IO.BinaryReader r)
84
84
// Bytes 0 - 19: string text, padded to the right with null characters
85
85
// Bytes 20+: Double value
86
86
87
- // using Microsoft.Data.SqlClient .Server;
87
+ // using Microsoft.SqlServer .Server;
88
88
public void Write ( System . IO . BinaryWriter w )
89
89
{
90
90
int maxStringSize = 20 ;
Original file line number Diff line number Diff line change 2
2
using System . IO ;
3
3
using System . Collections ;
4
4
//<Snippet1>
5
- using Microsoft . Data . SqlClient . Server ;
5
+ using Microsoft . SqlServer . Server ;
6
6
7
7
public class Class1
8
8
{
Original file line number Diff line number Diff line change 1
1
using System ;
2
2
//<Snippet1>
3
- using Microsoft . Data . SqlClient . Server ;
3
+ using Microsoft . SqlServer . Server ;
4
4
using System . IO ;
5
5
using System . Data . Sql ;
6
6
using System . Data . SqlTypes ;
7
7
using System . Text ;
8
8
9
9
[ Serializable ]
10
- [ Microsoft . Data . SqlClient . Server . SqlUserDefinedAggregate (
11
- Microsoft . Data . SqlClient . Server . Format . UserDefined ,
10
+ [ Microsoft . SqlServer . Server . SqlUserDefinedAggregate (
11
+ Microsoft . SqlServer . Server . Format . UserDefined ,
12
12
IsInvariantToNulls = true ,
13
13
IsInvariantToDuplicates = false ,
14
14
IsInvariantToOrder = false ,
15
15
MaxByteSize = 8000 )
16
16
]
17
- public class Concatenate : Microsoft . Data . SqlClient . Server . IBinarySerialize
17
+ public class Concatenate : Microsoft . SqlServer . Server . IBinarySerialize
18
18
{
19
19
20
20
public void Read ( BinaryReader r )
Original file line number Diff line number Diff line change 2
2
//<Snippet5>
3
3
using System ;
4
4
using System . Data . SqlTypes ;
5
- using Microsoft . Data . SqlClient . Server ;
5
+ using Microsoft . SqlServer . Server ;
6
6
7
7
[ Serializable ( ) ]
8
8
[ SqlUserDefinedType ( Format . Native ) ]
@@ -133,7 +133,7 @@ public SqlString Quadrant()
133
133
134
134
//-----------------------------------------------------------------------------
135
135
//<Snippet12>
136
- // using Microsoft.Data.SqlClient .Server;
136
+ // using Microsoft.SqlServer .Server;
137
137
138
138
[ SqlUserDefinedType ( Format . Native , MaxByteSize = 8000 ) ]
139
139
public class SampleType
You can’t perform that action at this time.
0 commit comments