Skip to content

Any ideas for an overridable method or event (existing or theoretical) signaling arrived back on the client side? #3541

Discussion options

You must be logged in to vote

To specifically focus on your core request, what you are describing sounds like a side-effect, where you called the data portal to do one thing, and it also did something else.

That's not good, at least as a general practice. I'm not keen on directly supporting side-effects that aren't explicitly part of the domain model.

Which is to say that I think your scenario(s) should be explicitly part of your business domain model, not part of the infrastructure.

[Serializable]
public class EditRole : BusinessBase<EditRole>
{
    // do what you do today
}

[Serializable]
public class EditRoleUoW : ReadOnlyBase<EditRoleUoW>
{
    // property EditRole for EditRole

    // property NewPrincipal for n…

Replies: 4 comments 8 replies

Comment options

swegele
Nov 8, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@swegele
Comment options

swegele Nov 9, 2023
Collaborator Author

@rockfordlhotka
Comment options

Comment options

swegele
Nov 9, 2023
Collaborator Author

You must be logged in to vote
0 replies
Comment options

swegele
Nov 9, 2023
Collaborator Author

You must be logged in to vote
6 replies
@swegele
Comment options

swegele Nov 9, 2023
Collaborator Author

@swegele
Comment options

swegele Nov 9, 2023
Collaborator Author

@rockfordlhotka
Comment options

@rockfordlhotka
Comment options

Answer selected by swegele
@swegele
Comment options

swegele Nov 11, 2023
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants