1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="DbProviderSpecificTypePropertyAttribute" FullName="System.Data.Common.DbProviderSpecificTypePropertyAttribute">
3 <TypeSignature Language="C#" Value="public sealed class DbProviderSpecificTypePropertyAttribute : Attribute" />
5 <AssemblyName>System.Data</AssemblyName>
6 <AssemblyVersion>2.0.0.0</AssemblyVersion>
9 <BaseTypeName>System.Attribute</BaseTypeName>
14 <AttributeName>System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)</AttributeName>
18 <since version=".NET 2.0" />
20 <attribution license="cc4" from="Microsoft" modified="false" />
21 <para>The <see cref="T:System.Data.Common.DbProviderSpecificTypePropertyAttribute" /> is used by a provider writer to designate a provider-specific type parameter property which is not inherited from the <see cref="T:System.Data.Common.DbParameter" /> base class. The <see cref="P:System.Data.SqlClient.SqlParameter.SqlDbType" /> property of a <see cref="T:System.Data.SqlClient.SqlParameter" /> is an example of a provider-specific type property not found in DbParameter.</para>
22 <para>A provider writer can apply DbProviderSpecificTypePropertyAttribute(true) to indicate a provider-specific data type parameter property. This allows for its discovery using reflection, which enables code generation tools, such as those used in Visual Studio, to generate code geared to a specific provider. The <see cref="P:System.Data.Common.DbProviderSpecificTypePropertyAttribute.IsProviderSpecificTypeProperty" /> property returns true if the property has been set, otherwise false. </para>
25 <attribution license="cc4" from="Microsoft" modified="false" />
26 <para>Identifies which provider-specific property in the strongly typed parameter classes is to be used when setting a provider-specific type.</para>
30 <Member MemberName=".ctor">
31 <MemberSignature Language="C#" Value="public DbProviderSpecificTypePropertyAttribute (bool isProviderSpecificTypeProperty);" />
32 <MemberType>Constructor</MemberType>
34 <Parameter Name="isProviderSpecificTypeProperty" Type="System.Boolean" />
37 <remarks>To be added.</remarks>
38 <since version=".NET 2.0" />
40 <attribution license="cc4" from="Microsoft" modified="false" />
41 <para>Initializes a new instance of a <see cref="T:System.Data.Common.DbProviderSpecificTypePropertyAttribute" /> class.</para>
43 <param name="isProviderSpecificTypeProperty">
44 <attribution license="cc4" from="Microsoft" modified="false" />Specifies whether this property is a provider-specific property.</param>
47 <AssemblyVersion>2.0.0.0</AssemblyVersion>
50 <Member MemberName="IsProviderSpecificTypeProperty">
51 <MemberSignature Language="C#" Value="public bool IsProviderSpecificTypeProperty { get; }" />
52 <MemberType>Property</MemberType>
54 <ReturnType>System.Boolean</ReturnType>
57 <value>To be added.</value>
58 <remarks>To be added.</remarks>
59 <since version=".NET 2.0" />
61 <attribution license="cc4" from="Microsoft" modified="false" />
62 <para>Indicates whether the attributed property is a provider-specific type.</para>
66 <AssemblyVersion>2.0.0.0</AssemblyVersion>