37 references to SqlDbType
System.Data.Linq (37)
SqlClient\Common\SqlFactory.cs (5)
267
SqlDbType sqlDbType = ((SqlTypeSystem.SqlType)(exp.SqlType)).
SqlDbType
;
272
return (((SqlTypeSystem.SqlType)(exp.SqlType)).
SqlDbType
== SqlDbType.Date);
276
return (((SqlTypeSystem.SqlType)(exp.SqlType)).
SqlDbType
== SqlDbType.Time);
280
return (((SqlTypeSystem.SqlType)(exp.SqlType)).
SqlDbType
== SqlDbType.DateTimeOffset);
284
SqlDbType sqlDbType = ((SqlTypeSystem.SqlType)(exp.SqlType)).
SqlDbType
;
SqlClient\Query\SqlParameterizer.cs (2)
141
SqlDbType leftSqlDbType = ((SqlTypeSystem.SqlType)(bo.Left.SqlType)).
SqlDbType
;
142
SqlDbType rightSqlDbType = ((SqlTypeSystem.SqlType)(bo.Right.SqlType)).
SqlDbType
;
SqlClient\SqlTypeSystemProvider.cs (30)
243
switch (this.
SqlDbType
) {
255
switch (this.
SqlDbType
) {
302
switch (this.
SqlDbType
) {
325
int p0 = IsTypeKnownByProvider ? GetTypeCoercionPrecedence(this.
SqlDbType
) : Int32.MinValue;
326
int p1 = sqlProviderType.IsTypeKnownByProvider ? GetTypeCoercionPrecedence(sqlProviderType.
SqlDbType
) : Int32.MinValue;
421
switch (
SqlDbType
) {
612
switch (
SqlDbType
) {
634
switch (
SqlDbType
) {
650
switch (
SqlDbType
) {
756
switch (this.
SqlDbType
) {
978
sParameter.SqlDbType = sqlType.
SqlDbType
;
987
piSqlDbType.SetValue(parameter, sqlType.
SqlDbType
, null);
1022
switch (declaredType.
SqlDbType
) {
1117
ProviderType concatType = this.GetBestType(highest.
SqlDbType
, null);
1127
return GetBestType(highest.
SqlDbType
, concatSize);
1152
switch (sqlType.
SqlDbType
) {
1202
switch (arg0.
SqlDbType
) {
1221
switch (arg0.
SqlDbType
) {
1242
switch (arg0.
SqlDbType
) {
1247
return Create(arg0.
SqlDbType
, (int)val.Value);
1253
switch (arg0.
SqlDbType
) {
1305
switch (sqlThisType.
SqlDbType
) {
1335
if (sqlTypeA.HasPrecisionAndScale && sqlTypeB.HasPrecisionAndScale && bestType.
SqlDbType
== SqlDbType.Decimal) {
1342
return Create(bestType.
SqlDbType
);
1344
return Create(bestType.
SqlDbType
, p1, s1);
1346
return Create(bestType.
SqlDbType
, p0, s0);
1352
return Create(bestType.
SqlDbType
, precision, /*scale*/bestRight);
1368
bestType = new SqlType(bestType.
SqlDbType
, bestSize);
1467
switch (sqlType.
SqlDbType
) {
1587
switch (sqlType.
SqlDbType
) {