-
I found the answer : i replace the idea by (i), IE change (i) by the symbol 'idea' and it is OK Private Function CompareToRecursive( ByVal that As MultiSortProperty, ByVal i As Integer ) As Integer ' Make sure we have identical objects If that Is Nothing OrElse that._properties.Count <> _properties.Count Then Return -1 End If Dim res
-
Hello Jonny, I try to convert your code in VB and I have a problem with the lines : var res = _properties .CompareTo(that._properties ); ... if (_directions == ListSortDirection.Descending) res = 0 - res; what is the bright idea ? Thanks in advance for help Dominique
-
It is OK if I use a Public constructor in the read-only class. Public Sub New ( ByVal pTravEntete As TravEntete) _Id = pTravEntete.Id _DateTrav = pTravEntete.DateTrav .. End Sub Is it the good solution ?
-
Thanks, Rocky, for your answer. Yes I could use inside your method all properties I have in the DataPortal_Fetch of the read-only class but there is a problem because it is not possible to refer instance member inside a shared method. I did (sorry I use VB) : Public Shared Function CreateFromBB( ByVal pTravEntete As TravEntete) As TravEnteteInfo _Id
-
Hello, I have a Business Base object and I need to have the same in a Read Only Base but without to fetch data. I have the two classes BB and ROB. I want to keep them but I need to convert a BB object to a ROB object. How to do that ? Thanks in advance Dominique
-
Yes the content (for Windows Forms) already exists but with a big difference : Using CSLA 3.0 ebook cover all the core concepts around using CSLA 3.0 (it is like the first four ebooks you are writing), it is not truly a ebook covering how to use a CSLA .NET business layer to create applications as you will do for the others UI. If you can write a small
-
Hello Rocky, In the different types of UI, that you enumerate, and in the list of the seven books, I don’t see WinForm. Do you plan to abandon to support WinForm ? It is good that CSLA supports new technologies but Winform is still used by many developpers. Dominique
-
Thanks Rocky for your explanations. In a few weeks, I hope to have a little of free time so I’ll see to do a patch and I shall send you.
-
Thanks Rocky for your answer. I want to use the databinding with IEditableObjet. I don’t understand why n-level undo is lied with databinding. Databinding uses IEditableObjet (from framework). This interface has 3 methods : BeginEdit, CancelEdit and EndEdit. N-level undo uses ISupportUndo (from Csla). This interface has 3 methods : BeginEdit,
-
Hi, I use Csla 3.6 vb for WinForms. I want to use BindingSourceNode and BindingSourceHelper to manage Master-Details display but without using CslaActionExtender because I implement the Save button on a ToolBar (as Rocky wrote in his book). I don’t want to use n-level undo but I don’t understand how to do that (not use n-level undo). My