C# Class Samba.Services.DataCreationService

Mostrar archivo Open project: emreeren/SambaPOS-2 Class Usage Examples

Public Methods

Method Description
BatchCreateMenuItems ( string values, IWorkspace workspace ) : IEnumerable
BatchCreateMenuProperties ( string values, MenuItemPropertyGroup item ) : IEnumerable
BatchCreateReasons ( string values, int reasonType, IWorkspace workspace ) : IEnumerable
BatchCreateTables ( string values, IWorkspace workspace ) : IEnumerable
CreateData ( ) : void
DataCreationService ( ) : System

Private Methods

Method Description
ConvertToDecimal ( string priceStr, string decimalSeperator ) : decimal
CreateDefaultCurrenciesIfNeeded ( ) : void
ImportMenus ( Samba.Domain.Models.Menus.ScreenMenu screenMenu ) : void
ImportTables ( Samba.Domain.Models.Tickets.Department department ) : void
ShouldCreateData ( ) : bool

Method Details

BatchCreateMenuItems() public method

public BatchCreateMenuItems ( string values, IWorkspace workspace ) : IEnumerable
values string
workspace IWorkspace
return IEnumerable

BatchCreateMenuProperties() public method

public BatchCreateMenuProperties ( string values, MenuItemPropertyGroup item ) : IEnumerable
values string
item Samba.Domain.Models.Menus.MenuItemPropertyGroup
return IEnumerable

BatchCreateReasons() public method

public BatchCreateReasons ( string values, int reasonType, IWorkspace workspace ) : IEnumerable
values string
reasonType int
workspace IWorkspace
return IEnumerable

BatchCreateTables() public method

public BatchCreateTables ( string values, IWorkspace workspace ) : IEnumerable
values string
workspace IWorkspace
return IEnumerable

CreateData() public method

public CreateData ( ) : void
return void

DataCreationService() public method

public DataCreationService ( ) : System
return System