Print Page | Close Window

Create and Initialize en EntityManager in BOS side

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=2135
Printed Date: 13-May-2026 at 12:56am


Topic: Create and Initialize en EntityManager in BOS side
Posted By: yafei
Subject: Create and Initialize en EntityManager in BOS side
Date Posted: 07-Sep-2010 at 3:07pm
Can I create and initialize an Entity Manager in BOS side ?



Replies:
Posted By: ting
Date Posted: 07-Sep-2010 at 7:02pm
The EntityServerQueryInterceptor, EntityServerSaveInterceptor, and InvokeServerMethod all give you existing EntityManagers that you can work with.  Let us know if that doesn't work, because creating a new EntityManager on the server may create additional complexities.




Print Page | Close Window