ObjectDataProvider Methods

The ObjectDataProvider type exposes the following members.

  Name Description
Protected method BeginInit Indicates that initialization of this object is about to begin; no implicit Refresh occurs until the matched EndInit method is called. (Inherited from DataSourceProvider.)
Protected method BeginQuery Starts to create the requested object, either immediately or on a background thread, based on the value of the IsAsynchronous property. (Overrides DataSourceProvider.BeginQuery().)
Public method DeferRefresh Enters a defer cycle that you can use to change properties of the provider and delay automatic refresh. (Inherited from DataSourceProvider.)
Protected method EndInit Indicates that the initialization of this object has completed; this causes a Refresh if no other DeferRefresh is outstanding. (Inherited from DataSourceProvider.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitialLoad Starts the initial query to the underlying data model. The result is returned on the Data property. (Inherited from DataSourceProvider.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnPropertyChanged Raises the PropertyChanged event with the provided arguments. (Inherited from DataSourceProvider.)
Protected method OnQueryFinished(Object) Derived classes call this method to indicate that a query has finished. (Inherited from DataSourceProvider.)
Protected method OnQueryFinished(Object, Exception, DispatcherOperationCallback, Object) Derived classes call this method to indicate that a query has finished. (Inherited from DataSourceProvider.)
Public method Refresh Initiates a refresh operation to the underlying data model. The result is returned on the Data property. (Inherited from DataSourceProvider.)
Public method ShouldSerializeConstructorParameters Indicates whether the ConstructorParameters property should be persisted.
Public method ShouldSerializeMethodParameters Indicates whether the MethodParameters property should be persisted.
Public method ShouldSerializeObjectInstance Indicates whether the ObjectInstance property should be persisted.
Public method ShouldSerializeObjectType Indicates whether the ObjectType property should be persisted.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method ISupportInitialize.BeginInit This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from DataSourceProvider.)
Explicit interface implemetation Private method ISupportInitialize.EndInit This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (Inherited from DataSourceProvider.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft