C# Class Client.ContactEditor.ViewModels.ContactsEditorViewModel

Inheritance: SparkleXrm.ViewModelBase
Mostra file Open project: scottdurow/SparkleXrm Class Usage Examples

Public Properties

Property Type Description
Contacts SparkleXrm.GridEditor.EntityDataViewModel
SelectedContact Observable

Public Methods

Method Description
AddNewContact ( ) : System.Action
CanAddNew ( ) : DependentObservable
ContactsEditorViewModel ( ) : System
Init ( ) : void
OnSelectedRowsChanged ( ) : void
OwnerSearchCommand ( string term, Action callback ) : void
ReportError ( Exception ex ) : void
ResetCommand ( ) : System.Action
SaveCommand ( ) : System.Action
SaveSelectedContact ( ) : System.Action
TransactionCurrencySearchCommand ( string term, Action callback ) : void

Private Methods

Method Description
AccountSearchCommand ( string term, Action callback ) : void
AddNewAccountInLine ( object item ) : void
SaveNextRecord ( List dirtyCollection, string errorMessage, System.Action callBack ) : void
SearchRecords ( string term, Action callback, string entityType, string entityNameAttribute ) : void

Method Details

AddNewContact() public method

public AddNewContact ( ) : System.Action
return System.Action

CanAddNew() public method

public CanAddNew ( ) : DependentObservable
return DependentObservable

ContactsEditorViewModel() public method

public ContactsEditorViewModel ( ) : System
return System

Init() public method

public Init ( ) : void
return void

OnSelectedRowsChanged() public method

public OnSelectedRowsChanged ( ) : void
return void

OwnerSearchCommand() public method

public OwnerSearchCommand ( string term, Action callback ) : void
term string
callback Action
return void

ReportError() public method

public ReportError ( Exception ex ) : void
ex System.Exception
return void

ResetCommand() public method

public ResetCommand ( ) : System.Action
return System.Action

SaveCommand() public method

public SaveCommand ( ) : System.Action
return System.Action

SaveSelectedContact() public method

public SaveSelectedContact ( ) : System.Action
return System.Action

TransactionCurrencySearchCommand() public method

public TransactionCurrencySearchCommand ( string term, Action callback ) : void
term string
callback Action
return void

Property Details

Contacts public_oe property

public EntityDataViewModel,SparkleXrm.GridEditor Contacts
return SparkleXrm.GridEditor.EntityDataViewModel

SelectedContact public_oe property

public Observable SelectedContact
return Observable