Skip to content
Discussion options

You must be logged in to vote

GestConcurrence is not declared as a CSLA property, so it is not getting serialized when calling the DataPortal. I'm not sure how it could have worked in a prior version. Perhaps there was no serialization when DataPortal was running local and now there is. Either way, it should be declared as a CSLA property if you are relying on the DataPortal to maintain the state.

public static readonly PropertyInfo<byte> GestConcurrenceProperty = RegisterProperty<byte>(nameof(GestConcurrence));
public byte GestConcurrence
{
	get => ReadProperty(GestConcurrenceProperty);
	private set => LoadProperty(GestConcurrenceProperty, value);
}

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Mikael-Pothier
Comment options

@rockfordlhotka
Comment options

Answer selected by Mikael-Pothier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants