Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

EF Core Migration: InsertData() with using a value from a select statement

$
0
0

Hello,

I'm new to EF Core migrations.

I am trying to InsertData() but a value of that insert statement is dependent on a SELECT query to obtain and Id.

How can I do this in the UP() method?


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>