Add project files.
This commit is contained in:
20
StockDal.Interface/IStockMarketRepository.cs
Normal file
20
StockDal.Interface/IStockMarketRepository.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using DataDomain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StockDal.Interface
|
||||
{
|
||||
public interface IStockMarketRepository
|
||||
{
|
||||
Dictionary<string, DiTraderStockRow> StockMarketList { get; set; }
|
||||
bool ViewBrowser { get; set; }
|
||||
|
||||
void Clean();
|
||||
void LoadStockMarketList();
|
||||
void LoadStockMarketList(bool viewBrowser);
|
||||
void RefreshMarketList();
|
||||
}
|
||||
}
|
||||
18
StockDal.Interface/IStockRepository.cs
Normal file
18
StockDal.Interface/IStockRepository.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using DataDomain;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StockDAL.Interface
|
||||
{
|
||||
public interface IStockRepository
|
||||
{
|
||||
IEnumerable<StockMember> GetAllRemainingStocks();
|
||||
IEnumerable<StockMember> GetAllStocks();
|
||||
void InsertMany(List<StockMember> stockMembers);
|
||||
void SaveStockMember(StockMember stockMember);
|
||||
void UpdateActualPrice(int id, decimal price);
|
||||
}
|
||||
}
|
||||
15
StockDal.Interface/StockDAL.Interface.csproj
Normal file
15
StockDal.Interface/StockDAL.Interface.csproj
Normal file
@ -0,0 +1,15 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="HtmlAgilityPack" Version="1.11.29" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DataDomain\DataDomain.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user