public OrderRepository()
		{

            database = new Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase("BloggingModel");
            BloggingModel dbcontext = new BloggingModel();
            DbSet<Blog> aaa = dbcontext.Blogs;
            
		}
示例#2
0
 public OrderRepository()
 {
     database = new Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase("BloggingModel");
     BloggingModel dbcontext = new BloggingModel();
     DbSet <Blog>  aaa       = dbcontext.Blogs;
 }