68 references to ProviderMode
System.Data.Linq (68)
SqlClient\Common\SqlServer2KCompatibilityAnnotation.cs (4)
12
SqlProvider.
ProviderMode
[] providers;
19
internal SqlServerCompatibilityAnnotation(string message, params SqlProvider.
ProviderMode
[] providers)
27
internal bool AppliesTo(SqlProvider.
ProviderMode
provider) {
28
foreach (SqlProvider.
ProviderMode
p in providers) {
SqlClient\Common\SqlServer2KCompatibilityCheck.cs (3)
18
private SqlProvider.
ProviderMode
provider;
21
internal Visitor(SqlProvider.
ProviderMode
provider) {
46
internal static void ThrowIfUnsupported(SqlNode node, SqlNodeAnnotations annotations, SqlProvider.
ProviderMode
provider) {
SqlClient\Query\LongTypeConverter.cs (5)
76
Strings.TextNTextAndImageCannotOccurInDistinct(select.SourceExpression), SqlProvider.
ProviderMode
.Sql2000, SqlProvider.
ProviderMode
.SqlCE));
100
Strings.TextNTextAndImageCannotOccurInUnion(su.SourceExpression), SqlProvider.
ProviderMode
.Sql2000, SqlProvider.
ProviderMode
.SqlCE));
111
Strings.LenOfTextOrNTextNotSupported(fc.SourceExpression), SqlProvider.
ProviderMode
.Sql2000));
SqlClient\Query\SqlCrossApplyToCrossJoin.cs (1)
35
Annotations.Add(join, new SqlServerCompatibilityAnnotation(Strings.SourceExpressionAnnotation(join.SourceExpression), SqlProvider.
ProviderMode
.Sql2000));
SqlClient\Query\SqlMethodCallConverter.cs (5)
23
internal static SqlNode Convert(SqlNode node, SqlFactory sql, SqlProvider.
ProviderMode
providerMode) {
633
SqlProvider.
ProviderMode
providerMode;
636
internal Visitor(SqlFactory sql, SqlProvider.
ProviderMode
providerMode) {
764
if (this.providerMode == SqlProvider.
ProviderMode
.SqlCE) {
2184
if (this.providerMode == SqlProvider.
ProviderMode
.Sql2008) {
SqlClient\Query\SqlOuterApplyReducer.cs (3)
54
this.AnnotateSqlIncompatibility(join, SqlProvider.
ProviderMode
.Sql2000);
105
this.AnnotateSqlIncompatibility(join, SqlProvider.
ProviderMode
.Sql2000);
144
private void AnnotateSqlIncompatibility(SqlNode node, params SqlProvider.
ProviderMode
[] providers) {
SqlClient\Query\SqlParameterizer.cs (1)
236
SqlClient.Strings.MaxSizeNotSupported(node.SourceExpression), SqlProvider.
ProviderMode
.Sql2000));
SqlClient\Query\SqlTopReducer.cs (1)
38
this.annotations.Add(select.Top, new SqlServerCompatibilityAnnotation(Strings.SourceExpressionAnnotation(select.Top.SourceExpression), SqlProvider.
ProviderMode
.Sql2000));
SqlClient\SqlProvider.cs (45)
27
: base(
ProviderMode
.Sql2000) {
33
: base(
ProviderMode
.Sql2005) {
39
: base(
ProviderMode
.Sql2008) {
62
private
ProviderMode
mode =
ProviderMode
.NotYetDecided;
99
internal
ProviderMode
Mode {
109
if (this.mode ==
ProviderMode
.NotYetDecided) {
111
this.mode =
ProviderMode
.SqlCE;
113
this.mode =
ProviderMode
.Sql2000;
116
this.mode =
ProviderMode
.Sql2005;
118
this.mode =
ProviderMode
.Sql2008;
123
case
ProviderMode
.Sql2000:
126
case
ProviderMode
.Sql2005:
129
case
ProviderMode
.Sql2008:
132
case
ProviderMode
.SqlCE:
317
this.mode =
ProviderMode
.NotYetDecided;
320
internal SqlProvider(
ProviderMode
mode) {
350
this.mode =
ProviderMode
.SqlCE;
352
if (this.mode ==
ProviderMode
.SqlCE) {
381
this.mode =
ProviderMode
.SqlCE;
414
if (this.mode ==
ProviderMode
.SqlCE) {
542
if (this.mode ==
ProviderMode
.SqlCE) {
582
if (this.mode ==
ProviderMode
.SqlCE) {
623
if (this.mode ==
ProviderMode
.SqlCE) {
648
if (this.mode ==
ProviderMode
.Sql2005 || this.mode ==
ProviderMode
.Sql2008) {
708
if (this.mode ==
ProviderMode
.SqlCE) {
753
if (this.mode ==
ProviderMode
.SqlCE) {
983
if (this.Mode ==
ProviderMode
.Sql2000 ||
984
this.Mode ==
ProviderMode
.SqlCE) {
1410
case
ProviderMode
.Sql2000:
1416
case
ProviderMode
.Sql2005:
1417
case
ProviderMode
.Sql2008:
1426
case
ProviderMode
.SqlCE:
1455
bool canUseOuterApply = (this.Mode ==
ProviderMode
.Sql2005 || this.Mode ==
ProviderMode
.Sql2008 || this.Mode ==
ProviderMode
.SqlCE);
1488
SqlMultiplexer.Options options = (this.Mode ==
ProviderMode
.Sql2008 ||
1489
this.Mode ==
ProviderMode
.Sql2005 ||
1490
this.Mode ==
ProviderMode
.SqlCE)
1501
if (this.mode ==
ProviderMode
.SqlCE) {
1591
if (this.mode ==
ProviderMode
.SqlCE ||
1592
this.mode ==
ProviderMode
.Sql2005 ||
1593
this.mode ==
ProviderMode
.Sql2008) {
1598
if (block != null && this.mode ==
ProviderMode
.SqlCE) {