Checking in latest SDALEO changes optimizing Advantage really only.

This commit is contained in:
2016-07-25 14:48:03 -04:00
parent 122796eaa3
commit 4a683f3443
114 changed files with 1173 additions and 372 deletions

View File

@@ -1,4 +1,5 @@
using System;
#if SQLSERVER
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -17,3 +18,4 @@ namespace Sdaleo.Systems.SQLServer
public const int ERROR_DB_DEVICE_ACTIVATION_FAILED = 5105;
}
}
#endif

View File

@@ -1,4 +1,5 @@
using System;
#if SQLSERVER
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -187,3 +188,4 @@ namespace Sdaleo.Systems.SQLServer
#endregion
}
}
#endif

View File

@@ -1,4 +1,5 @@
using System;
#if SQLSERVER
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@@ -73,7 +74,7 @@ namespace Sdaleo.Systems.SQLServer
if (values.Length == 2)
return ValidationConsts.Generic.IsValidServerName(values[0]) && ValidationConsts.Generic.IsValidInstanceName(values[1]);
}
else if (!string.IsNullOrEmpty(strDataSource) && (strDataSource.IndexOf('\\') == 0))
else if (!string.IsNullOrEmpty(strDataSource) && (strDataSource.IndexOf('\\') == -1))
{
return ValidationConsts.Generic.IsValidServerName(strDataSource);
}
@@ -98,3 +99,4 @@ namespace Sdaleo.Systems.SQLServer
}
}
#endif