[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / class / System.Data / System.Data.SqlClient / SqlCommandBuilder.platformnotsupported.cs
blob196f6998977065830c1e6430320d2fa1eef8ac3e
1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
5 using System;
6 using System.Data;
7 using System.Data.Common;
8 using System.Data.SqlClient;
10 namespace System.Data.SqlClient
12 public class SqlCommandBuilder : DbCommandBuilder
14 const string EXCEPTION_MESSAGE = "System.Data.SqlClient.SqlCommandBuilder is not supported on the current platform.";
16 public SqlCommandBuilder ()
17 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
19 public SqlCommandBuilder (SqlDataAdapter adapter)
20 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
22 public static void DeriveParameters (SqlCommand command)
23 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
25 public SqlCommand GetDeleteCommand ()
26 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
28 public SqlCommand GetInsertCommand ()
29 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
31 public SqlCommand GetUpdateCommand ()
32 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
34 public SqlCommand GetUpdateCommand (bool useColumnsForParameterNames)
35 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
37 public SqlCommand GetDeleteCommand (bool useColumnsForParameterNames)
38 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
40 public SqlCommand GetInsertCommand (bool useColumnsForParameterNames)
41 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
43 public override string QuoteIdentifier (string unquotedIdentifier)
44 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
46 public override string UnquoteIdentifier (string quotedIdentifier)
47 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
49 protected override void ApplyParameterInfo (DbParameter parameter, DataRow datarow, StatementType statementType, bool whereClause)
50 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
52 protected override string GetParameterName (int parameterOrdinal)
53 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
55 protected override string GetParameterName (string parameterName)
56 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
58 protected override string GetParameterPlaceholder (int parameterOrdinal)
59 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
61 protected override void SetRowUpdatingHandler (DbDataAdapter adapter)
62 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
64 protected override DataTable GetSchemaTable (DbCommand srcCommand)
65 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
67 protected override DbCommand InitializeCommand (DbCommand command)
68 => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
70 public SqlDataAdapter DataAdapter {
71 get => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
72 set => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
75 public override string QuotePrefix {
76 get => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
77 set => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
80 public override string QuoteSuffix {
81 get => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
82 set => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
85 public override string CatalogSeparator {
86 get => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
87 set => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
90 public override string SchemaSeparator {
91 get => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
92 set => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
95 public override CatalogLocation CatalogLocation {
96 get => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);
97 set => throw new PlatformNotSupportedException (EXCEPTION_MESSAGE);