Skip to content
Discussion options

You must be logged in to vote

On the client-side you are interacting with the client-side data portal, and it has specific method names you can't change.

On the server-side, you get to name your server-side data portal operation methods as you choose, using the operation attributes so the data portal can identify which methods correspond to an operation.

If you want customized names for things on the client, you should consider using a factory type. Form example:

public class EmployeeEquipmentEditFactory
{
  private IDataPortal<EmployeeEquipmentEdit> Portal { get; set; }

  public EquipmentFactory(IDataPortal<EmployeeEquipmentEdit> portal)
  {
    // get data portal via dependency injection
    Portal = portal;
  }

  p…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@jhuerta3
Comment options

Answer selected by jhuerta3
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@TheCakeMonster
Comment options

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