static void Main(string[] args) { Console.WriteLine("Start."); using (var context = new SwallowContext()) { var t = context.Travel.GetByCurrentUser().FirstOrDefault(); } Console.WriteLine("End."); Console.ReadKey(); }
public TripsFinders(SwallowContext context) { this.context = context; this.client = this.BuildClientUberApi(); }
internal UserRepository(SwallowContext context) { this.Context = context; }
public RepositoryBuilder() { this.Context = new SwallowContext(); }