-
This is the reason for the various transaction/connection/context types in the Csla.Data namespace. I discuss their use in the 'Using CSLA 4' ebook, and they are specifically designed to "flow" connections/transactions between your DAL components without having to deal with the complexity...
-
The 'Using CSLA 4: Data Access' book from http://store.lhotka.net covers this topic in substantial detail. Information is also on the FAQ: http://www.lhotka.net/cslanet/faq/DataFaq.ashx
-
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...
-
Hi, I am pretty new to CSLA and I am trying to introduce a BL on top of the already built DL. The DL is build using EF4.3 and the DBContext. I am starting to face some challenges but I am not sure whether it's due to a bad implmementation or an inherent incompatibility between the tools I am using...
-
That is a good observation, and we should add appropriate support for SQL CE - I'll add this to the wish list.
-
Is this .NET or Silverlight? I'll assume .NET, or you wouldn't have gotten anywhere at all. In .NET, the entire object graph must be serializable. That means the classes that define all the objects in the entire graph must be serializable. Any object referenced from a field must be serializable...
-
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...
-
In a Silverlight app in local mode your DataPortal_XYZ method is responsible for making a callback to tell the data portal your data operation is complete. The DataPortal_XYZ method gets a callback parameter that must be invoked when your method is complete - including the case where an exception occurs...
-
I would think one answer is to use a Web Role in Azure to host the data portal, so the SQL Azure interactions are "local" within the Azure cloud.