-
I'm trying to build a connected WinRT app, and have realized I really need to provide offline storage capabilities. So I'm going down the road of using SQLite on the client and SQL Server in the cloud. What I think I need to do is to use two different DAL implementations: one for SQL Server,...
-
I'm new to CSLA, and also unit testing in general, yet I'm newly assigned to a project that uses CSLA and they want to now write unit tests for it, and I'm lost. The project is a ASP.NET MVC 3 (c#) application, with a csla library that has umm inline? dataportal methods. The actual data fetching...
-
trying to use MockDb. here is the code: public List < ProjectDto > Fetch() { var result = from r in ProjectTracker.DalMock. MockDb .Projects select new ProjectDto { Id = r.Id, Name = r.Name, Description = r.Description, ParentID = r.ParentID, Alias = r.Alias, CapitalizationStage = r.CapitalizationStage...
-
Hi All, I'm currently working on de DpREPOS from the CSLA Core video series to learn how manipulate the DataAccess. Actually, im focusing on the Repository pattern, using DataPortal_XYZ methods (EncapsulatedInvoke data reader) So, I have reproduced a small demo where the structure is almost identical...
-
Hi All, I've just completed watching the CSLA Core and MvvM video series. We currently are utilizing the standard DataPortal_XYZ methods into an Silverlight application to retrieve our data but we want to move to utilize a separate DAL (BO invokes DAL) to have both DataAccess.MsSQL and DataAccess...
-
Hi everyone, Is it possible to use a single ObjectFactory class that determines the type of BO to operate on at run-time? There is a custom base class (e.g subclass of ReadOnlyBase<T>) that has the ObjectFactoryAttribute applied on it and all its subclasses should use the same ObjectFactory, unless...
-
Hi Rocky, On Using CSLA4 - 3 Data Access ebook you show two implementations of Encapsulated Invoke model: - DataReadder DAL interface - DTO based DAL interface As far as I can see, the former uses a data reader but just for the fetching part and uses parameter passing otherwise. The later uses DTOs for...
-
Hello, To paraphrase Rocky from the 3rd Csla 3.8 video, while discussing a demo project which invokes an abstracted DAL from within the BO (starting at about 1:10:48) In a 3 tier model you don't even deploy your concrete data access components to the client. You simply deploy an abstract DAL router...
-
Hi, I'm new to the CSLA framework and I'm trying to write an N-Tier application so I can demo the framework to my company. I'm really struggling to get the data access working. I keep getting the "The underlying connection was closed: The connection was closed unexpectedly." error...
-
Hi, I am new to CSLA and I am trying to implement CSLA 2008 in our project. I read that separating Business Object and Data Access is good design pattern thats why I have created two separate layer for Business logic and Data access logic. My DAL object just consist of CRUD methods which opens databse...