3 writes to collation
System.Data (3)
fx\src\data\System\Data\SqlClient\TdsParser.cs (2)
3513
if (!TryProcessCollation(stateObj, out rec.
collation
)) {
4263
if (!TryProcessCollation(stateObj, out col.
collation
)) {
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
864
this.
collation
= original.collation;
18 references to collation
System.Data (18)
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (2)
687
if (null != _SqlDataReaderRowSource && metadata.
collation
!= null) {
690
int destinationLcid = metadata.
collation
.LCID;
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
5264
if (rec.
collation
!= null) {
5266
thisParam.Collation = rec.
collation
;
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (5)
288
SqlCollation collation = colMetaData.
collation
;
1289
if (sqlMetaData.baseTI.
collation
!= null) {
1290
lcid = sqlMetaData.baseTI.
collation
.LCID;
1297
if (sqlMetaData.
collation
!= null) {
1298
lcid = sqlMetaData.
collation
.LCID;
fx\src\data\System\Data\SqlClient\TdsParser.cs (8)
3517
int codePage = GetCodePage(rec.
collation
, stateObj);
4267
int codePage = GetCodePage(col.
collation
, stateObj);
9245
WriteUnsignedInt(mdPriv.
collation
.info, stateObj);
9246
stateObj.WriteByte(mdPriv.
collation
.sortId);
9357
WriteUnsignedInt(md.
collation
.info, stateObj);
9358
stateObj.WriteByte(md.
collation
.sortId);
9507
if (metadata.
collation
!= null) {
9508
_defaultCollation = metadata.
collation
;
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (1)
864
this.collation = original.
collation
;