protected override void Seed()
        {
            var portfolioId = SeedDataBase.CreatePortfolio("test", DateTime.Now);

            _summaryId = SeedDataBase.CreatePortfolioTransactionSummary(portfolioId);
            SeedDataBase.CreatePortfolioTransactionsConsolidation(_summaryId);
        }
        protected override void Seed()
        {
            _name        = "test portfolio";
            _portfolioId = SeedDataBase.CreatePortfolio(_name, DateTime.Now);
            var x = SeedDataBase.CreatePortfolioShare("ABC");
            var y = SeedDataBase.CreatePortfolioTransactionType("Close");

            _portfolioTransactionId = SeedDataBase.GetPortfolioTransaction(_portfolioId);
        }
Esempio n. 3
0
        protected override void Seed()
        {
            var openDate = DateTime.Now;

            _openDate = openDate.ToString(DateFormat);

            _name        = "test portfolio";
            _portfolioId = SeedDataBase.CreatePortfolio(_name, openDate);
            _portfolioTransactionSummaryId = SeedDataBase.CreatePortfolioTransactionSummary(_portfolioId);
        }
 protected override void Seed()
 {
     SeedDataBase.CreatePortfolio("test portfolio 1", DateTime.Now);
     SeedDataBase.CreatePortfolio("test portfolio 2", DateTime.Now);
     SeedDataBase.CreatePortfolio("test portfolio 3", DateTime.Now);
 }
 protected override void Seed()
 {
     _portfolioId = SeedDataBase.CreatePortfolio("test", DateTime.Now);
     _summaryId   = SeedDataBase.CreatePortfolioTransactionSummary(_portfolioId);
 }
 protected override void Seed()
 {
     _portfolioId = SeedDataBase.CreatePortfolio("test", new DateTime());
     _portfolioId = SeedDataBase.CreatePortfolioShare("test");
     _portfolioId = SeedDataBase.CreatePortfolioTransactionType("test");
 }