C# Class Pisa.DB.DBManager

Exibir arquivo Open project: vapps/Pisa

Public Properties

Property Type Description
Categories ObservableCollection
Items ObservableCollection
Payments ObservableCollection

Public Methods

Method Description
DBManager ( ) : System
Items_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
LoadAllItems ( ) : void
SaveAllItems ( ) : void
_InitCategories ( bool isFirtstTime ) : void
_InitPayments ( bool isFirstTime ) : void
pisaModel_PropertyChanged ( object sender, System e ) : void

Private Methods

Method Description
DeleteAllItems ( ) : void
_GetCategoryModel ( CategoryTable categoryInfo ) : CategoryModel
_GetPaymentModel ( PaymentTable paymentInfo ) : PaymentModel
_GetPisaModel ( PisaTable item ) : PisaModel
_GetPisaTable ( PisaModel model ) : PisaTable
_Init ( ) : void

Method Details

DBManager() public method

public DBManager ( ) : System
return System

Items_CollectionChanged() public method

public Items_CollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
sender object
e System.Collections.Specialized.NotifyCollectionChangedEventArgs
return void

LoadAllItems() public method

public LoadAllItems ( ) : void
return void

SaveAllItems() public method

public SaveAllItems ( ) : void
return void

_InitCategories() public method

public _InitCategories ( bool isFirtstTime ) : void
isFirtstTime bool
return void

_InitPayments() public method

public _InitPayments ( bool isFirstTime ) : void
isFirstTime bool
return void

pisaModel_PropertyChanged() public method

public pisaModel_PropertyChanged ( object sender, System e ) : void
sender object
e System
return void

Property Details

Categories public_oe property

public ObservableCollection Categories
return ObservableCollection

Items public_oe property

public ObservableCollection Items
return ObservableCollection

Payments public_oe property

public ObservableCollection Payments
return ObservableCollection