DataProviderObjectFactory Class

Allows you to create data objects implemented by a DDEX provider.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

Public MustInherit Class DataProviderObjectFactory _
    Inherits ObjectWithSite

Dim instance As DataProviderObjectFactory
public abstract class DataProviderObjectFactory : ObjectWithSite
public ref class DataProviderObjectFactory abstract : public ObjectWithSite
public abstract class DataProviderObjectFactory extends ObjectWithSite

Remarks

Classes derived from DataProviderObjectFactory should implement the M:Microsoft.VisualStudio.Data.DataProviderObjectFactory.CreateObject(System.Type) method to create provider-written objects that implement the specified object type. Such classes can use the P:Microsoft.VisualStudio.Data.DataProviderObjectFactory.DataProvider property to retrieve information about the data provider for which it is creating objects. This is most useful when a derived class is a base class for a particular technology like ADO.NET.

The DataProviderObjectFactory class servers as the root class, architecturally, for establishing a data extensibility framework.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Data.ObjectWithSite
    Microsoft.VisualStudio.Data.DataProviderObjectFactory
      Microsoft.VisualStudio.Data.AdoDotNet.AdoDotNetProviderObjectFactory

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

DataProviderObjectFactory Members

Microsoft.VisualStudio.Data Namespace