-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathProgram - Copy.cs
More file actions
34 lines (29 loc) · 1.03 KB
/
Program - Copy.cs
File metadata and controls
34 lines (29 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using CSInn.Infrastructure.Repositories.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ConsoleApp1
{
class Program_old
{
static void Main_old(string[] args)
{
/*
List<LessonEntity> test_list = new List<LessonEntity>()
{
new LessonEntity() { entity_test = "1"},
new LessonEntity() { entity_test = "2"},
new LessonEntity() { entity_test = "3"},
new LessonEntity() { entity_test = "4"},
new LessonEntity() { entity_test = "5"},
};
IQueryable<LessonEntity> EntitySet = (from p in test_list select p).AsQueryable();
var dao = new LessonDao(EntitySet);
var dto = new LessonDto(dao);
var result = dto.findByTest("2");
Console.WriteLine($"cout: {result.Count}");
Console.WriteLine($"model_test: {result[0].model_test}");
*/
}
}
}