ComponentOne Data Source for Entity Framework
C1.Data.DataSource Namespace / ClientViewSource Class
Properties Methods Events

In This Topic
    ClientViewSource Class Members
    In This Topic

    The following tables list the members exposed by ClientViewSource.

    Public Constructors
     NameDescription
    Public ConstructorInitializes a new instance of the ClientViewSource class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating whether Load is automatically invoked on startup and when a change occurs that impacts the query composed by the ClientViewSource. The default is True.  
    Public PropertyGets or sets an instance of C1.Data.ClientView<T> that the ClientViewSource uses as the base for composing queries.  
    Public PropertyGets or sets the period of time entities loaded in virtual mode are kept in the cache without checking whether they are needed or not. If an entity was neither used nor considered needed for a period of time longer than CacheTimeout, ClientViewSource may evict it from the cache.  
    Public PropertyGets the current client view used to load entities, or null in virtual mode.  
    Public PropertyGets the current view of entities resulting from the last load operation.  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public PropertyGets the collection of FilterDescriptor objects used when performing loads.  
    Public PropertyGets or sets the logical operator used for combinining FilterDescriptors in the filter collection. The default value is FilterDescriptorLogicalOperator.And.  
    Public PropertyGets the collection of GroupDescriptor objects used to organize the loaded entities into groups.  
    Public PropertyGets or sets a comma-separated list of property paths that specify related objects to include during the Load operation.  
    Public PropertyGets a value indicating whether the ClientViewSource is currently loading data.  
    Public Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets an System.Windows.Input.ICommand that invokes Load on this ClientViewSource.  
    Public PropertyGets or sets the delay before an automatic data loading operation is started. It is the delay from the time a change prompting automatic load occurs until the time the resulting Load is started. The default delay is 25 milliseconds.  
    Public PropertyGets or sets the maximum number of items to load each time a Load is executed. When equal to 0, all requested entities will be loaded. The default is 0.  
    Public PropertyGets or sets a value indicating that the first item must be made current after Load operation is completed if current item was not set by other means.  
    Public PropertyGets a name of this ClientViewSource to reference it in a C1DataSource.ViewSources collection. By default it is determined by the EntitySetName (for Entity Framework) or QueryName (for RIA Services), but it can be overrided by NameOverride.  
    Public PropertyGets or sets a value that overrides the value of the Name property.  
    Public PropertyGets or sets the number of items displayed on each page of the DataView, or the number of items to fetch in each query in virtual mode, or 0 to disable paging.  
    Public PropertyGets the collection of SortDescriptor objects used to sort the data.  
    Public PropertyGets or sets a value indicating whether the ClientViewSource is in virtual mode. Virtual mode is an innovative technology allowing to bind GUI controls directly to very large data sets without delays and performance degradation and without inconvenience of paging. By default, virtual mode is disabled (the default value is VirtualModeKind.None).  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodUsed to group changes to multiple load-affecting properties together, deferring the resulting load operations so a single load operation is performed in the end, that is, when the object returned from this method is disposed.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodStarts a load operation. Any pending load will be implicitly canceled.  
    Public MethodIf in virtual mode, loads a specific range of entities.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodStarts a load operation ignoring the client-side cache. Any pending load will be implicitly canceled.  
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Top
    Public Events
     NameDescription
    Public EventOccurs when a load operation is completed, or when an exception was thrown during the load operation.  
    Public EventOccurs when a property value changes.  
    Top
    See Also