is it ok to use dataannotations with code first Models as these models cannot use as view without data annotations?
.consequently we have to jump to Viewmodels but when inserting records issues will occur as viewmodel do not know our Code first models.
how to handle this?i am new to this and trying things but don't know what approach real wolrd applications really use