C# MVC3 storing MetaData in a single class <p>Is it possible to store the metadata information of 2 models in a single class? </p> <p>For example I'm working on Login and Registration model, both has username and password. Usually we create another class that will contain the meta data information: LoginMetadata and RegistrationMetadata. Or put the metadata information in the Login and Registration class.</p> <p>What I want to do is to create a single UserMetadata class then store the combined metadata information from Login and Registration model in it. In this case I have a single validation rule for username, password, etc. Is that possible?</p> <p>Regards, czetsuya</p>