-
Hi sam, You can go to Chris Denslow's CSLA.NET Desktop Reference site - http://www.onelittlevictory.com/ He has an excellent tutorial for CSLAgen under Tips / Tricks section - Using CSLA Gen. Regards, Miroslav
-
Thanks Rocky. It would be good to have this link in the CSLA .NET Resources list (on top of the forum). Miroslav
-
ajj3085: Thanks Rocky. Perhaps I didn't get to read your answer before the older thead vanished... or maybe I just missed it. I'll go the UI view route. Hi Andy, I was wondering how far did you come with your "UI view route"? As for myself, I've used another approach with child objects having Selected property, but I see the point in Rocky's "avoid
-
There is a bug in the ResourceAssignments class constructor. // Factory methods region private ResourceAssignments() { MarkAsChild(); } // Data Access region private ResourceAssignments(SafeDataReader dr) { // This should be here MarkAsChild(); RaiseListChangedEvents = false; while (dr.Read()) this.Add(ResourceAssignment.GetResourceAssignment(dr));
-
matt, I'm not very familiar with ActiveObjects, but this error usualy happens when some arguments of your overriden method are not the same type as the arguments of the base method (or cannot be converted to the base method argument types). Miroslav
-
There are already a couple of threads on this forum regarding the upgrade. Try this thread: Version 2.1 comments , or just use Search to find others. miroslav
-
You have a circular reference between the Employee_A and the Employee_C. The Employee_A contains reference to the Employee_B, which contains reference to the Employee_C, which contains reference to the Employee_A. When you (or Windows Forms binding) call Employee.BeginEdit(), UndoableBase will try to serialize entire Employee's object graph. If the
-
That's a very strange bug you got there. I've downloaded your code and tried to figure out what's causing the exception. I've set a breakpoint on the TryAndSave() method call: Public Sub save() Implements ISavable.save TryAndSave() End Sub After selecting Debug -> Step Into, the exception happens immediately. Execution cannot even enter into the
-
I've used a similar approach as Jav. The only difference is that my Where clause looks like this: WHERE Person_Id = ISNULL(@ID, Person_Id) ... but the result is the same.
-
Aaahhh! Feels like home. It will be a pleasure to be the part of this community. Let's rock!!! Miroslav Popović