Пример #1
0
        public void InsertTest()
        {
            ArticleManager manager = new ArticleManager();

            MySpider.DAL.Model.ArticleDBModel item = manager.ConvertToDalModel(new MySpider.BLL.Model.ArticleModel
            {
                Title = "tt",
                Summary = "test 1",
                Created = DateTime.Now
            });

            DBContext.Save(item);
        }