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

            _summaryId = SeedDataBase.CreatePortfolioTransactionSummary(portfolioId);
            SeedDataBase.CreatePortfolioTransactionsConsolidation(_summaryId);
        }
Ejemplo n.º 2
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()
 {
     _portfolioId = SeedDataBase.CreatePortfolio("test", DateTime.Now);
     _summaryId   = SeedDataBase.CreatePortfolioTransactionSummary(_portfolioId);
 }