DbProviderSpecificTypePropertyAttribute Class
Assembly: System.Data (in system.data.dll)
[SerializableAttribute] [AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=true)] public sealed class DbProviderSpecificTypePropertyAttribute : Attribute
/** @attribute SerializableAttribute() */ /** @attribute AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=true) */ public final class DbProviderSpecificTypePropertyAttribute extends Attribute
SerializableAttribute AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple=false, Inherited=true) public final class DbProviderSpecificTypePropertyAttribute extends Attribute
Not applicable.
The DbProviderSpecificTypePropertyAttribute is used by a provider writer to designate a provider-specific type parameter property which is not inherited from the DbParameter base class. The SqlDbType property of a SqlParameter is an example of a provider-specific type property not found in DbParameter.
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 IsProviderSpecificTypeProperty property returns true if the property has been set, otherwise false.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.