'Rare' use case and Csla #1777
Unanswered
Chicagoan2016
asked this question in
Questions
Replies: 1 comment 4 replies
-
What is the determining factor for selecting sproc set A or B? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi All,
This has happened to me once in a while in the past and it happened today : ). I have a Csla based class in one of my projects, nothing complicated, in 'Data Access' operation(s) the object is calling stored procs for 'Select', Insert etc. So far so good, now I have a scenario where the properties and business rules will stay the same but I have to call another set of stored procs, the new and 'different' stored procs have the same 'interface' (accepts and returns the same parameters).
If I try to use the same Csla based object, I have to somehow overload the 'logical' side DataPortal methods which can only be done by varying the types/number of parameters (since the names of those methods are 'fixed' in Csla).
I could use some kind of 'dummy' criteria object to fix this but is there a cleaner way?
Kind Regards
Beta Was this translation helpful? Give feedback.
All reactions