Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2017-10-19 14:19:45 +0300
committerMarek Safar <marek.safar@gmail.com>2017-11-24 00:45:15 +0300
commit1cc3bc58bee819b2c1905cc274049fbf2e7781ad (patch)
tree2e9d9c056e2dbf263c126984210fcbb37dadec56 /mcs/class/System.Data
parentecd85dc83916472e4c4f0f3b16f6f802be17e7a5 (diff)
Bump corefx
Diffstat (limited to 'mcs/class/System.Data')
-rw-r--r--mcs/class/System.Data/corefx/SR.cs2
-rw-r--r--mcs/class/System.Data/corefx/SqlParameter.cs16
2 files changed, 2 insertions, 16 deletions
diff --git a/mcs/class/System.Data/corefx/SR.cs b/mcs/class/System.Data/corefx/SR.cs
index f1f2fb30041..17fbd64338b 100644
--- a/mcs/class/System.Data/corefx/SR.cs
+++ b/mcs/class/System.Data/corefx/SR.cs
@@ -804,4 +804,6 @@ partial class SR
public const string Odbc_ExceptionMessage = "{0} [{1}] {2}";
public const string Odbc_ConnectionClosed = "The connection is closed.";
public const string Odbc_OpenConnectionNoOwner = "An internal connection does not have an owner.";
+ public const string Odbc_PlatformNotSupported = "System.Data.ODBC is not supported on this platform.";
+ public const string Odbc_UnixOdbcNotFound = "Dependency unixODBC with minimum version 2.3.1 is required.";
}
diff --git a/mcs/class/System.Data/corefx/SqlParameter.cs b/mcs/class/System.Data/corefx/SqlParameter.cs
index 846768fe085..5e0e88f2f6c 100644
--- a/mcs/class/System.Data/corefx/SqlParameter.cs
+++ b/mcs/class/System.Data/corefx/SqlParameter.cs
@@ -11,22 +11,6 @@ namespace System.Data.SqlClient
{
partial class SqlParameter
{
- public SqlParameter(string parameterName, SqlDbType dbType, int size, ParameterDirection direction, bool isNullable, byte precision, byte scale, string sourceColumn, DataRowVersion sourceVersion, object value)
- {
- if (parameterName == null)
- parameterName = string.Empty;
-
- _isNull = isNullable;
- Value = value;
- Scale = scale;
- Size = size;
- Precision = precision;
- SqlDbType = dbType;
- Direction = direction;
- SourceColumn = sourceColumn;
- SourceVersion = sourceVersion;
- }
-
[MonoTODO]
public string UdtTypeName
{