asp.net mvc - Custom Model Binder -


i'd create custom model binder.

let's there're 20 properties. need manualy bind 5 of them. i'd bind other 15 properties automatic default binder does.

is somehow possible ?

sure, least thing can inherit defaultmodelbinder, override bindmodel(...) method , use base.bindmodel(...) whatever want. after provide own binding logic else.


Comments

Popular posts from this blog

python - Does anyone know how to configure the hunpos wrapper class on nltk? -

mysql - How to insert just year and month into date field? -