Beispiel #1
0
        private static void Main(string[] args)
        {
            Console.WriteLine("Initializing Database...");

            BogContext context = new BogContext();
            context.Database.Initialize(true);

            Console.WriteLine("Done...");
            Console.ReadLine();
        }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DataWorker"/> class.
 /// </summary>
 /// <param name="context">
 /// The context.
 /// </param>
 public DataWorker(BogContext context)
 {
     this._donations = null;
     this._context = context;
 }