Yes, you can use EF if you complete all of the criteria below.
Databases that are at the premium service level.
Databases created after using the OLTP functions in memory have become active.
A new database cannot support OLTP in memory if it is restored from a database that was created before the OLTP functions in memory became active.
Transact-SQL, OLTP
, Transact-SQL , , Transact-SQL . , .
SQL Server 2016
(MARS): OLTP MARS . . MARS , . MARS Entity Framework OLTP .

?
, T-SQL , . , . , , .