No announcements
Found 2445192 threads
-
0 Votes
memory device context and device context
To enable applications to place output in memory rather than sending it to an actual device, use a special device context for bitmap ...Answered | 3 Replies | 1117 Views | Created by MRUTYUNJAYA.M - Wednesday, August 21, 2013 6:26 PM | Last reply by Anna Cc - Friday, August 23, 2013 9:15 AM -
0 Votes
Working with detached objects (in-memory context)
The best way to work with objects in my situation, I think, is to work with some in-memory context.Unanswered | 3 Replies | 5488 Views | Created by Radik Salakhov - Tuesday, December 2, 2008 1:58 PM | Last reply by Radik Salakhov - Tuesday, December 2, 2008 6:11 PM -
0 Votes
The EDM object context loads entire database into memory
Compiled in Release mode the process used 18M of memory.Answered | 4 Replies | 3802 Views | Created by Mark Zamonski - Tuesday, January 6, 2009 9:11 PM | Last reply by Mark Zamonski - Wednesday, January 7, 2009 1:29 PM -
0 Votes
Entity Framework 4.0 Best Practices: Do I need to detach an object before I add it to the ASP.NET Session?
Hi, I need to leave an EF 4.0 entity object in the ASP.NET session.Answered | 1 Replies | 4377 Views | Created by Max_2010 - Thursday, October 14, 2010 10:10 PM | Last reply by Valeriob - Friday, October 15, 2010 6:46 AM -
3 Votes
EF, SaveChanges: How to release memory after adding object to entity?
Detaching object was the solution.Answered | 4 Replies | 16260 Views | Created by [Beer] - Sunday, May 29, 2011 8:04 PM | Last reply by [Beer] - Monday, May 30, 2011 10:24 AM -
0 Votes
"The object cannot be detached because it is not attached to the ObjectStateManager" for objects returned by ObjectStateManager.GetObjectStateEntries
I believe you need to project out the entity since your LINQ query returns a List<ObjectStateEntry> and you don't detach entries, you detach entities.Answered | 3 Replies | 11178 Views | Created by Slapi2000 - Monday, August 31, 2009 1:19 PM | Last reply by Slapi2000 - Monday, September 7, 2009 5:45 PM -
0 Votes
'Memory' does not exist in current context.
If all you want to do is paly .wav files, just use the SoundPlayer ...Answered | 3 Replies | 1176 Views | Created by Danyal_T - Friday, July 12, 2013 9:32 AM | Last reply by Christopher84 - Friday, July 12, 2013 10:33 AM -
6 Votes
SQL detach (delete logs)
Could not allocate space for object 'dbo.EventLog'.'Answered | 7 Replies | 7768 Views | Created by Chris_VL - Wednesday, June 27, 2012 1:46 PM | Last reply by Chris_VL - Thursday, June 28, 2012 3:17 PM -
0 Votes
Updating detached entities
To use IObjectSet<T> as the interface for repositories we need a unit of work abstraction to bind repositories together.Answered | 4 Replies | 3925 Views | Created by TrippBlunschi - Thursday, July 8, 2010 1:30 PM | Last reply by Michael Sun [MSFT] - Thursday, July 15, 2010 1:30 AM -
0 Votes
Attaching a new object to the Lightswitch object context
No, there is no API to "attach" an object to the LightSwitch DataWorkspace.Answered | 3 Replies | 2067 Views | Created by rlrcstr - Thursday, April 19, 2012 6:20 PM | Last reply by Eric Erhardt - Thursday, April 19, 2012 10:23 PM -
0 Votes
Attaching detached Entity to new DbContext does not apply changes
Better solution Update changes made to detached object to the original object gathered from data source.Answered | 6 Replies | 9542 Views | Created by Nirvan - Tuesday, June 7, 2011 6:14 AM | Last reply by Serdar Karahisarlı - Saturday, July 16, 2011 6:49 AM -
0 Votes
Cannot Save Detached Entity to Database
I'm trying to take a detached entity that was never associated with an object context and save it back to my database through an object context.Answered | 1 Replies | 4042 Views | Created by sisdog - Saturday, May 9, 2009 6:11 AM | Last reply by Alex D James - MSFT - Saturday, May 9, 2009 11:51 PM -
0 Votes
There is no MTS object context
If this does not work, you should call Microsoft Support because it sounds like something outside of BizTalk itself that has broken that is affecting BizTalk.Answered | 2 Replies | 14304 Views | Created by Scott Dumonceaux - Tuesday, April 7, 2009 5:24 PM | Last reply by Mandi Anez - MSFT - Wednesday, April 8, 2009 7:37 PM -
2 Votes
Detaching the events
I think that detaching the event is necessary if you want to dispose the sub object, while keeping pub alive.Answered | 5 Replies | 334 Views | Created by ANi2000 - Wednesday, September 6, 2017 6:17 PM | Last reply by Fei Hu - Friday, September 8, 2017 2:23 AM -
1 Votes
Building an EF in-memory object provider for testing.
I'll report back later this week after I have had a bit more time to work this out.Answered | 6 Replies | 5569 Views | Created by Brian Vallelunga - Friday, November 14, 2008 7:56 PM | Last reply by Noam Ben-Ami - MSFT1 - Friday, November 20, 2009 7:46 PM -
0 Votes
seprating Object context and Entity
With EF3.5 you get entity types, which are classes that derive from EntityObject, and you get a context entity (the model) which derived from ObjectContext.Answered | 2 Replies | 3647 Views | Created by BusyBee - Friday, July 24, 2009 10:31 PM | Last reply by BusyBee - Friday, August 7, 2009 8:51 AM -
0 Votes
How heavy-weight is a EF-context?
Here are some general guidelines when deciding on the lifetime of the object context: When working with long-running object ...Answered | 4 Replies | 4289 Views | Created by RüdiActivity - Tuesday, September 28, 2010 7:22 PM | Last reply by Julia Kornich - Thursday, September 30, 2010 3:03 PM -
1 Votes
Updating (detached) POCO in EF4
I believe my eventual work around involved making sure I queried the object from the repository before using them to make sure they were attached.Answered | 10 Replies | 6467 Views | Created by Groggg987 - Friday, March 25, 2011 11:10 AM | Last reply by Joel McBeth - Friday, August 19, 2011 5:57 PM -
0 Votes
attach/detach
Just to be clear, attach/detach is NOT being depreciated.Answered | 2 Replies | 11817 Views | Created by Sam1980 - Tuesday, September 14, 2010 9:44 PM | Last reply by Tom Phillips - Wednesday, September 15, 2010 9:48 PM -
3 Votes
detach database
After that you can try with detach and will works.Answered | 3 Replies | 998 Views | Created by biltz - Monday, September 15, 2014 6:09 PM | Last reply by MNRDBA - Tuesday, September 16, 2014 2:47 AM - Items 1 to 20 of 2445192 Next ›
No announcements