Browse Forum Posts by Tags

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...

Hello every body with special thanks to dear rocky for his amazing framework as im new to CSLA Frame work i created the training project to learn how to apply the pattern of this frame work. first at all i created the library as a project tracker library with some different business objects then i decide...

If you create your own object factory loader you can do anything you want. There's nothing that prevents you from loading different (or multiple) DAL assemblies based on your requirements. The Using CSLA 4: Data Access ebook shows how to create a custom factory loader. The default factory loader...

The type name you provide to the ObjectFactory attribute is the interface type? This seems very nice, and is exactly the kind of thing we had in mind when designing the factory loader concept. Thank you for sharing your implementation.

DeletedList is protected. So are all the metastate properties of objects (IsNew, etc). The ObjectFactory base class has methods that allow you to access and manipulate these protected members, including DeletedList. Your factory object should subclass ObjectFactory to use these features.