Code: Select all
namespace OraclePoc
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
class Product
{
public int Id { get; set; }
}
class MyDbContext : DbContext
{
public DbSet<Product> Products { get; set; }
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseOracle(@"REDACTED");
}
}
}
- 20180510071055_InitialCreate.cs
- 20180510071055_InitialCreate.Designer.cs
- MyDbContextModelSnapshot.cs
In file 20180510071055_InitialCreate.Designer.cs and file MyDbContextModelSnapshot.cs, the first using is not complete.
Code: Select all
// <auto-generated />
using ;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using OraclePoc;
using System;