You also need to call Save(). This should fire
DataPortal_DeleteSelf, if I follow you situation correctly.
Sergey Barskiy
Senior Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: SouthSpawn
[mailto:cslanet@lhotka.net]
Sent: Friday, April 18, 2008 10:52 PM
To: Sergey Barskiy
Subject: [CSLA .NET] MyObject.Delete
I am doing something like this.
MyCompany = Company.GetCompany(Id)
This is fetching the company information just fine.
Now, when I do a "MyCompany.Delete()"
It doesn't fire any of the DataPortal_Delete Methods.
I am using the 3.5 Version of CSLA.
Any suggestions?
Thanks,
mark
Copyright (c) Marimer LLC