| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- <?xml version="1.0" encoding="utf-8"?>
- <Type Name="SqlBulkCopyColumnMapping" FullName="System.Data.SqlClient.SqlBulkCopyColumnMapping">
- <TypeSignature Language="C#" Value="public sealed class SqlBulkCopyColumnMapping" />
- <AssemblyInfo>
- <AssemblyName>System.Data</AssemblyName>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- <Base>
- <BaseTypeName>System.Object</BaseTypeName>
- </Base>
- <Interfaces />
- <Docs>
- <since version=".NET 2.0" />
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Column mappings define the mapping between data source and the target table.</para>
- <para>If mappings are not defined—that is, the <see cref="P:System.Data.SqlClient.SqlBulkCopy.ColumnMappings" /> collection is empty—the columns are mapped implicitly based on ordinal position. For this to work, source and target schemas must match. If they do not, an <see cref="T:System.InvalidOperationException" /> will be thrown.</para>
- <para>If the <see cref="P:System.Data.SqlClient.SqlBulkCopy.ColumnMappings" /> collection is not empty, not every column present in the data source has to be specified. Those not mapped by the collection are ignored.</para>
- <para>You can refer to source and target columns by either name or ordinal. You can also mix by-name and by-ordinal column references in the same mappings collection.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Defines the mapping between a column in a <see cref="T:System.Data.SqlClient.SqlBulkCopy" /> instance's data source and a column in the instance's destination table. </para>
- </summary>
- </Docs>
- <Members>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public SqlBulkCopyColumnMapping ();" />
- <MemberType>Constructor</MemberType>
- <Parameters />
- <Docs>
- <since version=".NET 2.0" />
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>If you use this constructor, you must then define the source for the mapping using the <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.SourceColumn" /> property or the <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.SourceOrdinal" /> property, and define the destination for the mapping using the <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationColumn" /> property or the <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationOrdinal" /> property.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Default constructor that initializes a new <see cref="T:System.Data.SqlClient.SqlBulkCopyColumnMapping" /> object.</para>
- </summary>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public SqlBulkCopyColumnMapping (int sourceColumnOrdinal, int destinationOrdinal);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="sourceColumnOrdinal" Type="System.Int32" />
- <Parameter Name="destinationOrdinal" Type="System.Int32" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <since version=".NET 2.0" />
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates a new column mapping, using column ordinals to refer to source and destination columns.</para>
- </summary>
- <param name="sourceColumnOrdinal">
- <attribution license="cc4" from="Microsoft" modified="false" />The ordinal position of the source column within the data source.</param>
- <param name="destinationOrdinal">
- <attribution license="cc4" from="Microsoft" modified="false" />The ordinal position of the destination column within the destination table.</param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public SqlBulkCopyColumnMapping (int sourceColumnOrdinal, string destinationColumn);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="sourceColumnOrdinal" Type="System.Int32" />
- <Parameter Name="destinationColumn" Type="System.String" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <since version=".NET 2.0" />
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates a new column mapping, using a column ordinal to refer to the source column and a column name for the target column.</para>
- </summary>
- <param name="sourceColumnOrdinal">
- <attribution license="cc4" from="Microsoft" modified="false" />The ordinal position of the source column within the data source.</param>
- <param name="destinationColumn">
- <attribution license="cc4" from="Microsoft" modified="false" />The name of the destination column within the destination table.</param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public SqlBulkCopyColumnMapping (string sourceColumn, int destinationOrdinal);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="sourceColumn" Type="System.String" />
- <Parameter Name="destinationOrdinal" Type="System.Int32" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <since version=".NET 2.0" />
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates a new column mapping, using a column name to refer to the source column and a column ordinal for the target column.</para>
- </summary>
- <param name="sourceColumn">
- <attribution license="cc4" from="Microsoft" modified="false" />The name of the source column within the data source.</param>
- <param name="destinationOrdinal">
- <attribution license="cc4" from="Microsoft" modified="false" />The ordinal position of the destination column within the destination table.</param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName=".ctor">
- <MemberSignature Language="C#" Value="public SqlBulkCopyColumnMapping (string sourceColumn, string destinationColumn);" />
- <MemberType>Constructor</MemberType>
- <Parameters>
- <Parameter Name="sourceColumn" Type="System.String" />
- <Parameter Name="destinationColumn" Type="System.String" />
- </Parameters>
- <Docs>
- <remarks>To be added.</remarks>
- <since version=".NET 2.0" />
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Creates a new column mapping, using column names to refer to source and destination columns.</para>
- </summary>
- <param name="sourceColumn">
- <attribution license="cc4" from="Microsoft" modified="false" />The name of the source column within the data source.</param>
- <param name="destinationColumn">
- <attribution license="cc4" from="Microsoft" modified="false" />The name of the destination column within the destination table.</param>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="DestinationColumn">
- <MemberSignature Language="C#" Value="public string DestinationColumn { set; get; }" />
- <MemberType>Property</MemberType>
- <ReturnValue>
- <ReturnType>System.String</ReturnType>
- </ReturnValue>
- <Docs>
- <value>To be added.</value>
- <since version=".NET 2.0" />
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationColumn" /> and <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationOrdinal" /> properties are mutually exclusive. The last value set takes precedence.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Name of the column being mapped in the destination database table.</para>
- </summary>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="DestinationOrdinal">
- <MemberSignature Language="C#" Value="public int DestinationOrdinal { set; get; }" />
- <MemberType>Property</MemberType>
- <ReturnValue>
- <ReturnType>System.Int32</ReturnType>
- </ReturnValue>
- <Docs>
- <value>To be added.</value>
- <since version=".NET 2.0" />
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationColumn" /> and <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.DestinationOrdinal" /> properties are mutually exclusive. The last value set takes precedence.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Ordinal value of the destination column within the destination table.</para>
- </summary>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="SourceColumn">
- <MemberSignature Language="C#" Value="public string SourceColumn { set; get; }" />
- <MemberType>Property</MemberType>
- <ReturnValue>
- <ReturnType>System.String</ReturnType>
- </ReturnValue>
- <Docs>
- <value>To be added.</value>
- <since version=".NET 2.0" />
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.SourceColumn" /> and <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.SourceOrdinal" /> properties are mutually exclusive. The last value set takes precedence.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>Name of the column being mapped in the data source.</para>
- </summary>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- <Member MemberName="SourceOrdinal">
- <MemberSignature Language="C#" Value="public int SourceOrdinal { set; get; }" />
- <MemberType>Property</MemberType>
- <ReturnValue>
- <ReturnType>System.Int32</ReturnType>
- </ReturnValue>
- <Docs>
- <value>To be added.</value>
- <since version=".NET 2.0" />
- <remarks>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.SourceColumn" /> and <see cref="P:System.Data.SqlClient.SqlBulkCopyColumnMapping.SourceOrdinal" /> properties are mutually exclusive. The last value set takes precedence.</para>
- </remarks>
- <summary>
- <attribution license="cc4" from="Microsoft" modified="false" />
- <para>The ordinal position of the source column within the data source.</para>
- </summary>
- </Docs>
- <AssemblyInfo>
- <AssemblyVersion>2.0.0.0</AssemblyVersion>
- </AssemblyInfo>
- </Member>
- </Members>
- </Type>
|