Hi, I am using LLBLGen Pro. Version 1.0.2004.2 (June 13, 2005) with generator configuration Self Servicing, general scenario Vs .NET 2003.
I am posting this question because I can’t find the response in the LLBL Gen Pro help.
The question is, when the method DeleteMulti with no parameters is called over the collection objects, when does occur effectively the deletion of the rows? I suppose that the entities are marked to delete and deleted when saved, is this right? If it’s right why do the entities remain visible in the collection?
I am doing code as follows. The corresponding rows in table WT_tErrosAccoes are erased only when executed the method Save(true) ?
…
…
…
accao.WT_tAvisosAccoes.DeleteMulti();
if(accao.WT_tErrosAccoes.Count>0)
{
accao.WT_tErrosAccoes.Clear();
}
…
…
…
…
accao.Save(true);
Thanks.