-
I am using CSLA 3.7. I have a similar scenario as above. In addition to the above, I need to create a BusinessListBase with Person as child. So, in the list class, I will either cast the child object to access the properties/methods of Client/User class or I can directly call the properties/methods if...
-
I have a CSLA list class that is inherited from: BusinessListBase Now I wan't to pass this list somehow to crystal report document. So I have tried this: reportDocument1 . SetDataSource ( cslaListOfObjects ); But I get error that crystal report can't receive nullable parameters. And also when...
-
Hi, I Have object graphs with parent-child relationship. There are more than two children objects. Parent object is BusinessBase object where other child objects are BusinessListBase objects. Now I want to add validation for child objects that if not a single child objects is not added, Then parent objects...
-
DataGrid controls generally put a child object in 'edit mode' when the user enters the row bound to that child. They sometimes take the object out of edit mode when the user leaves the row - and the Silverlight datagrid control is pretty good about that. But you are doing drag-and-drop right...
-
I need to query an EditableRootList by hierarchical child attributes. An example from Using CSLA would be a Invoice->LineItems->LineItem. I would like to return all Invoices for this month that have an LineItem Amount over $500.00. Should I make a Command or this a Unit of Work? I do not see in...
-
I have a ListView (ROL) and DetailsView( BO). in my Detailsview have a Delete Button that invoke BO.Delee method directly. according to http://www.lhotka.net/weblog/IAmWorkingOnMyUsingCSLANET30EbookAndWroteSomeContentThatIDontThinkImGoingToUseInTheBook.aspx notify the ROL the Add and Update. but how...
-
Hi there This is my first post so pleasd be gentle with me... I have a BusinessListBase called LookupItems containing a about 50 BusinessBase objects called LookupItem. Within a parent BB object (Lookup), I create a new LookupItems child property which is populated from the complete list containing about...
-
I have been using CSLA for a couple of years now and am about to start a new project. I am planning out how I will be laying out my objects and basically do not see the need to use ReadOnlyListBase. In the past, when I create and InfoList class I seem to spend too much time creating the class, criteria...
-
I’ve been using CSLA for a while now but am now just starting to build Silverlight applications using it. I am having a problem with asynchronous rule methods that update the UI. I am using CSLA 4.1 and have the following objects: BannedCarrier – Child Business Base Object BannedCarriers...
-
Having some issues getting proper results when creating a list of test events. I am using CSLA 3.7.1 The issue is that the list that is returned to the program has the proper number of tests but all of the tests are the same. In other words there seems to be an issue with the list using a reference to...
-
Hi, I wonder if someone can tell me where I am going wrong please... ? I have a simple scenario, i.e. a parent business object based on BusinessBase which in turn contains a child collection based on BusinessListBase which in turn contains a collection of business objects again based on BusinessBase...
-
This is my current object graph Album - PhotoList ( BusinessListBase) - - Photo - - - Tags ( BusinessListBase) - - - - Tag I am currently loading the PhotoList and Tags using lazy loading. Within the Album class, to load the list of photos I use: public IPhotoList PhotoList { get { if (!FieldManager...
-
My program is using CSLA 2.1.4 I have a class TaskTimeSpanList Inherits BusinessListBase(Of TaskTimeSpanList, TaskTimeSpan) When timer form returns new TaskTimeSpanList, I add it's items to the parent object list: For Each ts As TaskTimeSpan In frm.TimeSpans SelectedTask.TaskTimeSpans.Add(ts.Clone...
-
We have a fairly large custom LOB app that, for the time being, requires that we support .net 2/3/3.5. So moving to .net or CSLA 4.0 is not currently an option. In our recent WPF experiences, we've been running into lots of issues where we end up "wrapping" BLB collections in ObservableCollection<>...
-
Hello, We are migrating from an old CSLA version (1.3.0) to 3.8.3 and we need some help with the BusinessListBase and sorting. We had the following functionality: base .ApplySort( "StartDate" , System.ComponentModel. ListSortDirection .Ascending); It was used for some business collections that...
-
Hi All, I have a grid with data filled from csla businesslistbase now when the user selects a single row and clicks on the edit button a popup is suppose to be opened and the data of the row is suppose to be displayed in the popup window for editing. Now here is the problem, to do so i need to set the...
-
I guess I didn’t explain what my problem is. Let me explain you the whole scenario I have a class that contains transaction “BB(Of Transaction) and each transaction has a list of items and each item that is being entered in the BLB(Of Items, Item) should be saved when I’m calling the...
-
I have this odd thing behavior in my BB When the BB IsNew then the insert works just fine saves all the BusinseBase(of xyz) objects and the BUsinessBindingList(Of) but when temp = Transaction. Save is called and then i add new items to the binding list of items all the settings is just fine IsDirty on...
-
I have a silverlight tree view that is bound to a read only list. The problem is; I need to edit the nodes. If I use a businesslist I need to save the list to save the node. if I use a read only list I can't use a business base object. If I use a read only object, then create a businessbase object...
-
Hi, I was wondering if there is any standard support regarding adding or removing items from a collection in Csla based on business rules. I know the usual answer is to override InsertItem and RemoveItem, but I thought I'd ask again given the new rules subsystem, and that this seems like a fairly...