code_junkie

Possible to modify the C# that Linq To SQL generates?

Nov 12th, 2011
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. [MetadataType(typeof(Product_Meta))]
  2. public partial class Product
  3. {
  4. public partial class Product_Meta
  5. {
  6. [Range(5, 50, ErrorMessage = "The product's reorder level must be greater than 5 and less than 50")]
  7. public object ReorderLevel { get; set; }
  8. }
  9. }
Add Comment
Please, Sign In to add comment