Change the LiteDb filename
This commit is contained in:
Родитель
2fcdfd180c
Коммит
b6bf3c17b3
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
|
@ -13,8 +13,8 @@ namespace ContosoExpenses.Services
|
|||
readonly int numberOfEmployees = 10;
|
||||
readonly int numberOfExpenses = 5;
|
||||
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ExpenseIt\\";
|
||||
string filePath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\data.db";
|
||||
string directoryPath = $"{Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData)}\\ContosoExpenses\\";
|
||||
|
||||
public Employee GetEmployee(int employeeId)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче