Esempio n. 1
0
        static void Main(string[] args)
        {
            var person = new Person
            {
                DateOfBirth = DateTime.Now,
                Email       = "*****@*****.**",
                Name        = "Bilel",
                LastName    = "Ben Khalifa"
            };

            using (var db = new DepotContext())
            {
                var p = db.Persons.ToList();
            }


            Console.ReadKey();
        }
Esempio n. 2
0
 public TrackAccess(DepotContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
 public SectorAccess(DepotContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Esempio n. 4
0
 public StatusAccess(DepotContext context, Mapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }