예제 #1
0
        public static async Task RunMigrations(this OrdersContext context)
        {
            context.Blends.Add(Blend.Create("Columbian", new Cost(2m)));

            await context.SaveChangesAsync();
        }