示例#1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Start.");

            using (var context = new SwallowContext())
            {
                var t = context.Travel.GetByCurrentUser().FirstOrDefault();
            }

            Console.WriteLine("End.");
            Console.ReadKey();
        }
示例#2
0
 public TripsFinders(SwallowContext context)
 {
     this.context = context;
     this.client  = this.BuildClientUberApi();
 }
示例#3
0
 internal UserRepository(SwallowContext context)
 {
     this.Context = context;
 }
示例#4
0
 public RepositoryBuilder()
 {
     this.Context = new SwallowContext();
 }