C# 클래스 IdeaBlade.Windows.ObjectDataSource

상속: System.Windows.Controls.Control
파일 보기 프로젝트 열기: IdeaBlade/DevForce.Utilities

공개 프로퍼티들

프로퍼티 타입 설명
AutoLoadProperty System.Windows.DependencyProperty
DataProperty System.Windows.DependencyProperty
DataViewProperty System.Windows.DependencyProperty
EntityManagerProperty System.Windows.DependencyProperty
HasChangesProperty System.Windows.DependencyProperty
IsBusyProperty System.Windows.DependencyProperty
IsLoadingDataProperty System.Windows.DependencyProperty
IsSavingChangesProperty System.Windows.DependencyProperty
LoadSizeProperty System.Windows.DependencyProperty
PageSizeProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
ApplyState void
AutoLoadChanged void
DataViewChanged void
EntityManagerChanged void
FilterDescriptors_CollectionChanged void
FilterDescriptors_ItemChanged void
GetBasicFilter Predicate
GetFilteredQuery EntityQuery
GetQuery void
GetQueryFilter IPredicateDescription
GroupDescriptors_CollectionChanged void
GroupDescriptors_ItemChanged void
LoadCore void
LoadSizeChanged void
LoadView void
ObjectDataSource_EntityChanged void
ObjectDataSource_Loaded void
PageSizeChanged void
RefreshViewAfterFilterChange void
RefreshViewAfterGroupChange void
RefreshViewAfterSaveOrReject void
RefreshViewAfterSortChange void
SortDescriptors_CollectionChanged void
SortDescriptors_ItemChanged void
pcv_PageChanged void
pcv_PageChanging void

공개 메소드들

메소드 설명
Load ( ) : void

Call to load or refresh data when AutoLoad is not on.

Load ( IEntityQuery query ) : void

Load data, passing the source query.

ObjectDataSource ( ) : IdeaBlade.Core

Creates an instance of this type.

OnApplyTemplate ( ) : void

Applies visual state changes for templating.

RejectChanges ( ) : void

Rejects any changes made to data in the collection.

Note that any changes in the EntityManager will be rolled back, so use caution if a new EntityManager was not constructed for this control.

SaveChanges ( ) : void

Saves any data changes to the backend datasource.

An asynchronous SaveChanges call is made on the EntityManager. Note that any changes in the EntityManager will be saved, so use caution if a new EntityManager was not constructed for this control. You can use the EntityManager to set up event handlers.

SaveChanges ( Action callback ) : void

Saves any changes made to the backend datasource.

An asynchronous SaveChanges call is made on the EntityManager. Specify the callback to be called when the save completes. Note that any changes in the EntityManager will be saved, so use caution if a new EntityManager was not constructed for this control. You can use the EntityManager to set up event handlers.

SaveChanges ( SaveOptions saveOptions, Action callback ) : void

Saves the specified changes to the backend datasource.

An asynchronous SaveChanges call is made on the EntityManager. Specifiy the entities to be saved, and the SaveOptions in effect. Specify the callback to be called when the save completes.

비공개 메소드들

메소드 설명
ApplyState ( bool useTransitions ) : void
AutoLoadChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
DataViewChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
EntityManagerChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
FilterDescriptors_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
FilterDescriptors_ItemChanged ( object sender, ItemChangedEventArgs e ) : void
GetBasicFilter ( ) : Predicate
GetFilteredQuery ( ) : EntityQuery
GetQuery ( ) : void
GetQueryFilter ( ) : IPredicateDescription
GroupDescriptors_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
GroupDescriptors_ItemChanged ( object sender, ItemChangedEventArgs e ) : void
LoadCore ( ) : void
LoadSizeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
LoadView ( ) : void
ObjectDataSource_EntityChanged ( object sender, EntityChangedEventArgs e ) : void
ObjectDataSource_Loaded ( object sender, RoutedEventArgs e ) : void
PageSizeChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RefreshViewAfterFilterChange ( ) : void
RefreshViewAfterGroupChange ( ) : void
RefreshViewAfterSaveOrReject ( ) : void
RefreshViewAfterSortChange ( ) : void
SortDescriptors_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
SortDescriptors_ItemChanged ( object sender, ItemChangedEventArgs e ) : void
pcv_PageChanged ( object sender, EventArgs e ) : void
pcv_PageChanging ( object sender, PageChangingEventArgs e ) : void

메소드 상세

Load() 공개 메소드

Call to load or refresh data when AutoLoad is not on.
public Load ( ) : void
리턴 void

Load() 공개 메소드

Load data, passing the source query.
public Load ( IEntityQuery query ) : void
query IEntityQuery
리턴 void

ObjectDataSource() 공개 메소드

Creates an instance of this type.
public ObjectDataSource ( ) : IdeaBlade.Core
리턴 IdeaBlade.Core

OnApplyTemplate() 공개 메소드

Applies visual state changes for templating.
public OnApplyTemplate ( ) : void
리턴 void

RejectChanges() 공개 메소드

Rejects any changes made to data in the collection.
Note that any changes in the EntityManager will be rolled back, so use caution if a new EntityManager was not constructed for this control.
public RejectChanges ( ) : void
리턴 void

SaveChanges() 공개 메소드

Saves any data changes to the backend datasource.
An asynchronous SaveChanges call is made on the EntityManager. Note that any changes in the EntityManager will be saved, so use caution if a new EntityManager was not constructed for this control. You can use the EntityManager to set up event handlers.
public SaveChanges ( ) : void
리턴 void

SaveChanges() 공개 메소드

Saves any changes made to the backend datasource.
An asynchronous SaveChanges call is made on the EntityManager. Specify the callback to be called when the save completes. Note that any changes in the EntityManager will be saved, so use caution if a new EntityManager was not constructed for this control. You can use the EntityManager to set up event handlers.
public SaveChanges ( Action callback ) : void
callback Action
리턴 void

SaveChanges() 공개 메소드

Saves the specified changes to the backend datasource.
An asynchronous SaveChanges call is made on the EntityManager. Specifiy the entities to be saved, and the SaveOptions in effect. Specify the callback to be called when the save completes.
public SaveChanges ( SaveOptions saveOptions, Action callback ) : void
saveOptions SaveOptions
callback Action
리턴 void

프로퍼티 상세

AutoLoadProperty 공개적으로 정적으로 프로퍼티

See AutoLoad.
public static DependencyProperty,System.Windows AutoLoadProperty
리턴 System.Windows.DependencyProperty

DataProperty 공개적으로 정적으로 프로퍼티

See Data.
public static DependencyProperty,System.Windows DataProperty
리턴 System.Windows.DependencyProperty

DataViewProperty 공개적으로 정적으로 프로퍼티

See DataView.
public static DependencyProperty,System.Windows DataViewProperty
리턴 System.Windows.DependencyProperty

EntityManagerProperty 공개적으로 정적으로 프로퍼티

See EntityManager.
public static DependencyProperty,System.Windows EntityManagerProperty
리턴 System.Windows.DependencyProperty

HasChangesProperty 공개적으로 정적으로 프로퍼티

See HasChanges.
public static DependencyProperty,System.Windows HasChangesProperty
리턴 System.Windows.DependencyProperty

IsBusyProperty 공개적으로 정적으로 프로퍼티

See IsBusy.
public static DependencyProperty,System.Windows IsBusyProperty
리턴 System.Windows.DependencyProperty

IsLoadingDataProperty 공개적으로 정적으로 프로퍼티

See IsLoadingData.
public static DependencyProperty,System.Windows IsLoadingDataProperty
리턴 System.Windows.DependencyProperty

IsSavingChangesProperty 공개적으로 정적으로 프로퍼티

See IsSavingChanges.
public static DependencyProperty,System.Windows IsSavingChangesProperty
리턴 System.Windows.DependencyProperty

LoadSizeProperty 공개적으로 정적으로 프로퍼티

See LoadSize.
public static DependencyProperty,System.Windows LoadSizeProperty
리턴 System.Windows.DependencyProperty

PageSizeProperty 공개적으로 정적으로 프로퍼티

See PageSize.
public static DependencyProperty,System.Windows PageSizeProperty
리턴 System.Windows.DependencyProperty