Я пытаюсь использовать инструмент командной строки объекта 6.5.1 (
Код: Выделить всё
ef6.exeсреда:
- linux с Mono
- ent Framerow 6.5.11 1
- entity.)
Код: Выделить всё
MySql.Data.MySqlClient - .net Framework Project
Код: Выделить всё
mono ./packages/EntityFramework.6.5.1/tools/net45/any/ef6.exe database update \
--target MyMigration_001 \
--script \
--assembly bin/Debug/MyProject.DAL.dll \
--connection-string "server=localhost;database=testdb;uid=testuser;pwd=testpass" \
--connection-provider "MySql.Data.MySqlClient" \
-v
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at System.Data.Entity.Infrastructure.Design.ForwardingProxy`1[T].Invoke
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke
[... additional stack trace ...]
< /code>
Вопросы: < /strong> < /p>
EF6.exe должен работать с Mono на Linux? Linux?>
Подробнее здесь: https://stackoverflow.com/questions/797 ... on-mono-li
Мобильная версия