The C1DataSource type exposes the following members.

Constructors

  Name Description
Public method C1DataSource
Initializes a new instance of the C1DataSource class.

Methods

  Name Description
Public method CreateObjRef (Inherited from MarshalByRefObject.)
Public method Dispose()()()() (Inherited from ComponentComponent.)
Protected method Dispose(Boolean) (Inherited from ComponentComponent.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Component.)
Public method GetControlHandler
Gets the control handler the specified control is currently handled by.
Public method GetHashCode (Inherited from Object.)
Public method GetLifetimeService (Inherited from MarshalByRefObject.)
Protected method GetService (Inherited from Component.)
Public method GetType (Inherited from Object.)
Public method InitializeLifetimeService (Inherited from MarshalByRefObject.)
Public method Load
Loads all EntityViewSource objects in the ViewSources collection.
Protected method MemberwiseClone()()()() (Inherited from ObjectObject.)
Protected method MemberwiseClone(Boolean) (Inherited from MarshalByRefObjectMarshalByRefObject.)
Public method Refresh
Refreshes all EntityViewSource objects in the ViewSources collection.
Public method RejectChanges
Rejects the changes for every entity in the ObjectContext.
Public method SaveChanges
Persists all changes to the server.
Public method SetControlHandler
Connects a controlHandler to a given control.
Public method ToString (Inherited from Component.)

Properties

  Name Description
Protected property CanRaiseEvents (Inherited from Component.)
Public property ClientCache
Gets or sets the EntityClientCache used by this C1DataSource to access the data.
Public property ClientScope
Gets the client scope to which this C1DataSource belongs.
Public property Container (Inherited from Component.)
Protected property DesignMode (Inherited from Component.)
Protected property Events (Inherited from Component.)
Public property Item[([( Int32])])
Gets the ClientCollectionView of the EntityViewSource at the specified index in the ViewSources collection.
Public property Item[([( String])])
Gets the ClientCollectionView of the EntityViewSource with the specified name in the ViewSources collection.
Public property ObjectContext
Gets the ObjectContext the ClientCache is connected to.
Public property ObjectContextType
Gets or sets the type of an ObjectContext used to obtain the default client cache.
Public property RefreshInterval
Gets or sets the interval between automatic Refresh()()()() operations to refresh the data with any changes that may have occurred on the server.
Public property Site (Inherited from Component.)
Public property ViewSources
Gets a collection of EntityViewSource objects that define views (based on queries) in this C1DataSource.

Events

  Name Description
Public event Disposed (Inherited from Component.)
Public event SavedChanges
Occurs after a save operation is completed.
Public event SavingChanges
Occurs before changes are saved.

Explicit Interface Implementations

See Also