DataSource for Entity Framework in WPF
C1.Data.Entities Namespace / EntityViewSource Class
Properties Methods Events


In This Topic
    EntityViewSource Class Members
    In This Topic

    The following tables list the members exposed by EntityViewSource.

    Public Constructors
     NameDescription
    Public Constructor  
    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 C1.Data.DataSource.ClientViewSource. The default is True. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets or sets an instance of C1.Data.ClientView<T> that the C1.Data.DataSource.ClientViewSource uses as the base for composing queries. (Inherited from C1.Data.DataSource.ClientViewSource)
    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, C1.Data.DataSource.ClientViewSource may evict it from the cache. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets the current client view used to load entities, or null in virtual mode. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets the current view of entities resulting from the last load operation. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public PropertyGets or sets the name of the entity set to load entities from.  
    Public PropertyGets the collection of C1.Data.DataSource.FilterDescriptor objects used when performing loads. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets or sets the logical operator used for combinining FilterDescriptors in the filter collection. The default value is C1.Data.DataSource.FilterDescriptorLogicalOperator.And. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets the collection of C1.Data.DataSource.GroupDescriptor objects used to organize the loaded entities into groups. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets or sets a comma-separated list of property paths that specify related objects to include during the Load operation. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets a value indicating whether the C1.Data.DataSource.ClientViewSource is currently loading data. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets an System.Windows.Input.ICommand that invokes Load on this C1.Data.DataSource.ClientViewSource. (Inherited from C1.Data.DataSource.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. (Inherited from C1.Data.DataSource.ClientViewSource)
    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. (Inherited from C1.Data.DataSource.ClientViewSource)
    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. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyOverridden. Gets a name of this EntityViewSource to reference it in a C1DataSource.ViewSources collection. It is determined by the EntitySetName but can be overrided by the NameOverride.  
    Public PropertyGets or sets a value that overrides the value of the Name property. (Inherited from C1.Data.DataSource.ClientViewSource)
    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. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets the collection of C1.Data.DataSource.SortDescriptor objects used to sort the data. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public PropertyGets or sets a value indicating whether the C1.Data.DataSource.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 C1.Data.DataSource.VirtualModeKind.None). (Inherited from C1.Data.DataSource.ClientViewSource)
    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. (Inherited from C1.Data.DataSource.ClientViewSource)
    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. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public MethodIf in virtual mode, loads a specific range of entities. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodStarts a load operation ignoring the client-side cache. Any pending load will be implicitly canceled. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Top
    Protected Methods
     NameDescription
    Protected Method (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. (Inherited from C1.Data.DataSource.ClientViewSource)
    Public EventOccurs when a property value changes. (Inherited from C1.Data.DataSource.ClientViewSource)
    Top
    See Also