コード例 #1
0
 public Customer GetByEmail(string email)
 {
     return(_context.Customers
            .AsNoTracking()
            .Include(c => c.AddressList)
            .Include(c => c.CreditCardList)
            .FirstOrDefault(CustomerQueries.GetByEmail(email)));
 }