Udostępnij za pośrednictwem


AdoDotNetProviderObjectFactory Class

Definition

Provides an implementation of the DataProviderObjectFactory class for DDEX Providers whose underlying technology is ADO.NET.

public ref class AdoDotNetProviderObjectFactory : Microsoft::VisualStudio::Data::DataProviderObjectFactory
public class AdoDotNetProviderObjectFactory : Microsoft.VisualStudio.Data.DataProviderObjectFactory
type AdoDotNetProviderObjectFactory = class
    inherit DataProviderObjectFactory
Public Class AdoDotNetProviderObjectFactory
Inherits DataProviderObjectFactory
Inheritance
AdoDotNetProviderObjectFactory

Constructors

AdoDotNetProviderObjectFactory()

Class constructor. Instantiates a new instance of the AdoDotNetProviderObjectFactory class.

Properties

DataProvider

Retrieves the DDEX provider for which this class creates objects.

(Inherited from DataProviderObjectFactory)
Site

Retrieves or sets the object site.

(Inherited from ObjectWithSite)

Methods

CreateObject(Type)

Supports creation of the DataConnectionProperties and DataConnectionSupport types.

GetAssembly(String)

Locates an assembly given an assembly string.

(Inherited from DataProviderObjectFactory)
GetType(String)

Retrieves a type definition given a type name.

(Inherited from DataProviderObjectFactory)
OnSiteChanged(EventArgs)

Raises the SiteChanged event.

(Inherited from ObjectWithSite)

Events

SiteChanged

Event that is raised when the Site property is changed.

(Inherited from ObjectWithSite)

Explicit Interface Implementations

IObjectWithSite.GetSite(Guid, IntPtr)

Retrieves the last site set using the IObjectWithSite.SetSite(Object) method. In cases where there is no known site, the object returns an exception.

(Inherited from ObjectWithSite)
IObjectWithSite.SetSite(Object)

Provides the site's pointer to the site object.

(Inherited from ObjectWithSite)

Applies to