-
Notifications
You must be signed in to change notification settings - Fork 1
87 Identity filed reminder (Manuscript) (Wpf, Xamarin)
chempkovsky edited this page Jul 16, 2021
·
1 revision
- Note: Identity issue
- Since ManuscriptId is an Identity field we set InputType New=ReadOnly
- On the other hand ManuscriptId is a required field. It means ManuscriptId should be defined before sending to the Backend.
- To make sure that ManuscriptId is defined with a default value open the file:
Literature\LitManuscript\ViewModels\LitManuscriptViewEformViewModel.cs
of ModelServicesPrismModule-project
find `InputToControls()`-method
and make sure that Identity filed is correctly defined with a default value
...
}
if(ManuscriptId == null) ManuscriptId = 0 ;
});
}