So I'm trying something like the following with EntityFramework.Extended:
https://github.com/loresoft/EntityFramework.Extended
context.Logs.Delete(l => l.Id == 216471);
This is the simplest example I can provide.
The problem is this and any other .Delete() I try to do is giving me a:
System.NullReferenceException: Object reference not set to an instance of an object.
I'm using EF 5.0.0 and EF.Extended 5.0.0.73 against an Oracle 11gR2 database.
Any ideas? :)
Cross post on GitHub: http://bit.ly/12Z6xj2
尝试context.Logs.where(l => l.Id == 216471).Delete()
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.