Quantcast
Channel: EntityFramework Reverse POCO Code First Generator
Viewing all articles
Browse latest Browse all 1642

New Post: Adding a metadata attribute?

$
0
0
Hi Simon,

Does your generator create a MetadataType attribute for data domain class?

For example:
[MetadataType(typeof(ContactMetadata))]
public class Contact
{
      public long CustomerId { get; set; } // Primary Key
      public string Name { get; set; }
      public string Address { get; set; }
      ... etc., etc...
}
If not, could it be added?

Steve

Viewing all articles
Browse latest Browse all 1642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>