Class DataViewModel<T>
Inheritance
System.Object
Vortex.Presentation.BindableBase
Vortex.Presentation.Wpf.BindableBase
DataViewModel<T>
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Vortex.Presentation.BindableBase.SetProperty<T>(T, T, System.String)
Vortex.Presentation.BindableBase.OnPropertyChanged(System.String)
Vortex.Presentation.BindableBase.PropertyChanged
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: TcOpen.Inxton.Data.Wpf.dll
Syntax
public class DataViewModel<T> : BindableBase, INotifyPropertyChanged, FunctionAvailability where T : IBrowsableDataObject, new()
Type Parameters
Constructors
|
Improve this Doc
View Source
DataViewModel(IRepository<T>, TcoDataExchange)
Declaration
public DataViewModel(IRepository<T> repository, TcoDataExchange dataExchange)
Parameters
Fields
|
Improve this Doc
View Source
changes
Declaration
List<ValueChangeItem> changes
Field Value
|
Improve this Doc
View Source
filterByID
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
filteredCount
Declaration
Field Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
limit
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
mode
Declaration
Field Value
|
Improve this Doc
View Source
observableRecords
Declaration
readonly ObservableCollection<object> observableRecords
Field Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<System.Object> |
|
|
Improve this Doc
View Source
recordIdentifier
Declaration
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
selectedRecord
Declaration
Field Value
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
skip
Declaration
Field Value
Type |
Description |
System.Int32 |
|
Properties
|
Improve this Doc
View Source
CancelCreateNewCommand
Declaration
public ICommand CancelCreateNewCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
CancelEditCommand
Declaration
public ICommand CancelEditCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
CancelEditCommandAvailable
Declaration
public bool CancelEditCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CancelFilterCommand
Declaration
public RelayCommand CancelFilterCommand { get; }
Property Value
|
Improve this Doc
View Source
Changes
Declaration
public List<ValueChangeItem> Changes { get; set; }
Property Value
|
Improve this Doc
View Source
CreateCopyOfExistingCommand
Declaration
public ICommand CreateCopyOfExistingCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
CreateNewCommand
Declaration
public ICommand CreateNewCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
CrudDataObject
Declaration
ICrudDataObject CrudDataObject { }
Property Value
|
Improve this Doc
View Source
DataBrowser
Declaration
public DataBrowser<T> DataBrowser { get; set; }
Property Value
|
Improve this Doc
View Source
DataExchange
Declaration
public TcoDataExchange DataExchange { get; }
Property Value
|
Improve this Doc
View Source
DeleteCommand
Declaration
public ICommand DeleteCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
DeleteCommandAvailable
Declaration
public bool DeleteCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
EditCommand
Declaration
public ICommand EditCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
EditCommandAvailable
Declaration
public bool EditCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ExportCommand
Declaration
public ICommand ExportCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
ExportCommandAvailable
Declaration
public bool ExportCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FilterByID
Declaration
public string FilterByID { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
FindByCriteriaCommand
Declaration
public ICommand FindByCriteriaCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
FindContainsCommand
Declaration
public ICommand FindContainsCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
ImportCommand
Declaration
public ICommand ImportCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
ImportCommandAvailable
Declaration
public bool ImportCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Limit
Declaration
public int Limit { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
LoadFromPlcCommand
Declaration
public ICommand LoadFromPlcCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
LoadFromPlcCommandAvailable
Declaration
public bool LoadFromPlcCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Mode
Declaration
public ViewMode Mode { get; set; }
Property Value
|
Improve this Doc
View Source
ObservableRecords
Declaration
public ObservableCollection<object> ObservableRecords { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<System.Object> |
|
|
Improve this Doc
View Source
page
Declaration
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
PageDownCommand
Declaration
public ICommand PageDownCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
Pages
Declaration
public long Pages { get; }
Property Value
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
PageUpCommand
Declaration
public ICommand PageUpCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
PerPageFilter
Declaration
public IList<int> PerPageFilter { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<System.Int32> |
|
|
Improve this Doc
View Source
RecordIdentifier
Declaration
public string RecordIdentifier { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
SearchMode
Declaration
public eSearchMode SearchMode { get; set; }
Property Value
|
Improve this Doc
View Source
SelectedRecord
Declaration
public object SelectedRecord { get; set; }
Property Value
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
SendToPlcCommand
Declaration
public ICommand SendToPlcCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
SendToPlcCommandAvailable
Declaration
public bool SendToPlcCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Skip
Declaration
public int Skip { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
StartCreateCopyOfExisting
Declaration
public ICommand StartCreateCopyOfExisting { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
StartCreateCopyOfExistingAvailable
Declaration
public bool StartCreateCopyOfExistingAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
StartCreateNewCommand
Declaration
public ICommand StartCreateNewCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
StartCreateNewCommandAvailable
Declaration
public bool StartCreateNewCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
UpdateCommand
Declaration
public ICommand UpdateCommand { get; }
Property Value
Type |
Description |
System.Windows.Input.ICommand |
|
|
Improve this Doc
View Source
UpdateCommandAvailable
Declaration
public bool UpdateCommandAvailable { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
CancelEdit()
Declaration
|
Improve this Doc
View Source
CreateBrowsable(IRepository<T>)
Declaration
DataBrowser<T> CreateBrowsable(IRepository<T> repository)
Parameters
Returns
|
Improve this Doc
View Source
CreateCopyOfExisting()
Declaration
void CreateCopyOfExisting()
|
Improve this Doc
View Source
CreateNew()
Declaration
|
Improve this Doc
View Source
Delete()
Declaration
|
Improve this Doc
View Source
ExportData()
Declaration
|
Improve this Doc
View Source
FillObservableRecords()
Declaration
void FillObservableRecords()
|
Improve this Doc
View Source
Filter()
Declaration
|
Improve this Doc
View Source
FindById()
Declaration
|
Improve this Doc
View Source
ImportData()
Declaration
|
Improve this Doc
View Source
LoadFromPlc()
Declaration
|
Improve this Doc
View Source
LogCommand(String)
Declaration
void LogCommand(string commandName)
Parameters
Type |
Name |
Description |
System.String |
commandName |
|
|
Improve this Doc
View Source
Declaration
bool PaginationUpEnabled(object arg)
Parameters
Type |
Name |
Description |
System.Object |
arg |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
SendToPlc()
Declaration
|
Improve this Doc
View Source
StartCreatingNew()
Declaration
|
Improve this Doc
View Source
StartCreatingRecordCopy()
Declaration
void StartCreatingRecordCopy()
|
Improve this Doc
View Source
StartEdit()
Declaration
|
Improve this Doc
View Source
Update()
Declaration
Implements
System.ComponentModel.INotifyPropertyChanged