Code First includes a set of simple, model-wide behaviors that provide sensible configuration defaults for the parts of your model that have not been explicitly configured using Data Annotations or the Fluent API. These default behaviors are referred to as Conventions. One commonly requested feature is the ability to add your own conventions. The Custom Conventions feature will let you define your own conventions to provide custom configuration defaults for your model. The heart of this new feature is the conventions interfaces that you use to implement your own custom conventions. These interfaces fall into two main categories: Configuration-based and Model-based.


I guess you came to this post by searching similar kind of issues in any of the search engine and hope that this resolved your problem. If you find this tips useful, just drop a line below and share the link to others and who knows they might find it useful too.

Stay tuned to my blogtwitter or facebook to read more articles, tutorials, news, tips & tricks on various technology fields. Also Subscribe to our Newsletter with your Email ID to keep you updated on latest posts. We will send newsletter to your registered email address. We will not share your email address to anybody as we respect privacy.


This article is related to

</ span>.Net,Articles,Computer Tutorials,Code First Conventions,Entity Framework,,Custom Code First Conventions