Click here to Skip to main content
15,867,860 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: setting security level for .Net 4.0 exe on trusted server (inrtranet) Pin
Dave Kreskowiak20-Dec-11 8:28
mveDave Kreskowiak20-Dec-11 8:28 
GeneralRe: setting security level for .Net 4.0 exe on trusted server (intranet) Pin
cegarman20-Dec-11 8:57
cegarman20-Dec-11 8:57 
Questionbest approach to business objects Pin
Simon_Whale19-Dec-11 13:02
Simon_Whale19-Dec-11 13:02 
AnswerRe: best approach to business objects Pin
Richard Andrew x6419-Dec-11 13:51
professionalRichard Andrew x6419-Dec-11 13:51 
GeneralRe: best approach to business objects Pin
Simon_Whale19-Dec-11 22:00
Simon_Whale19-Dec-11 22:00 
AnswerRe: best approach to business objects Pin
Shameel21-Dec-11 2:41
professionalShameel21-Dec-11 2:41 
GeneralRe: best approach to business objects Pin
Simon_Whale21-Dec-11 4:04
Simon_Whale21-Dec-11 4:04 
QuestionEntity Framework going in to infinite loop Pin
indian14316-Dec-11 10:20
indian14316-Dec-11 10:20 
Hi All,

I have an entity framework call where it is going in to infinite loop. Can anybody please help me in resolving it and making this call to execute only one.

The persist method is being called here for many times so at last it is throwing exception

Following is the code

using (TransactionScope transactionScope = new TransactionScope(TransactionScopeOption.Required,
                 new TransactionOptions() { IsolationLevel = System.Transactions.IsolationLevel.ReadCommitted }))
                {
                    controllerContext.PersistEvents.Clear();
                    Persist(businessObject, context, controllerContext);
                    transactionScope.Complete();
                }

Thanks & Regards,

Abdul Aleem Mohammad
St Louis MO - USA

AnswerRe: Entity Framework going in to infinite loop Pin
Not Active16-Dec-11 13:50
mentorNot Active16-Dec-11 13:50 
AnswerRe: Entity Framework going in to infinite loop Pin
Pete O'Hanlon19-Dec-11 0:56
subeditorPete O'Hanlon19-Dec-11 0:56 
QuestionOPENING THE VBA EDITOR ON CLICK ON OLEOBJECTS BUTTON Pin
archana jain15-Dec-11 2:43
archana jain15-Dec-11 2:43 
Questionreference and this in .net Pin
messages13-Dec-11 20:13
messages13-Dec-11 20:13 
AnswerRe: reference and this in .net Pin
Richard MacCutchan13-Dec-11 22:04
mveRichard MacCutchan13-Dec-11 22:04 
AnswerRe: reference and this in .net Pin
Abhinav S14-Dec-11 6:32
Abhinav S14-Dec-11 6:32 
QuestionThread sync Pin
columbos1492712-Dec-11 21:52
columbos1492712-Dec-11 21:52 
AnswerRe: Thread sync Pin
Pete O'Hanlon12-Dec-11 22:16
subeditorPete O'Hanlon12-Dec-11 22:16 
GeneralRe: Thread sync Pin
columbos1492712-Dec-11 22:25
columbos1492712-Dec-11 22:25 
GeneralRe: Thread sync Pin
Pete O'Hanlon12-Dec-11 22:32
subeditorPete O'Hanlon12-Dec-11 22:32 
GeneralRe: Thread sync Pin
Albert Holguin13-Dec-11 3:21
professionalAlbert Holguin13-Dec-11 3:21 
AnswerRe: Thread sync Pin
Shameel21-Dec-11 2:47
professionalShameel21-Dec-11 2:47 
QuestionVisual Studio 2010 Pin
Gagnon Claude11-Dec-11 7:17
Gagnon Claude11-Dec-11 7:17 
AnswerRe: Visual Studio 2010 Pin
Pete O'Hanlon11-Dec-11 7:51
subeditorPete O'Hanlon11-Dec-11 7:51 
AnswerRe: Visual Studio 2010 Pin
Abhinav S11-Dec-11 18:30
Abhinav S11-Dec-11 18:30 
GeneralRe: Visual Studio 2010 Pin
Albert Holguin13-Dec-11 5:27
professionalAlbert Holguin13-Dec-11 5:27 
AnswerRe: Visual Studio 2010 Pin
Nolan Sunico15-Dec-11 15:42
Nolan Sunico15-Dec-11 15:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.