Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. public class SProcReturn {
  2. public int value1 {get; set;}
  3. public int value2 {get; set;}
  4. public int value3 {get; set;}
  5.  
  6. [ForeignKey("value1")]
  7. public virtual ValueTranslation value1Translation {get; set;}
  8. [ForeignKey("value2")]
  9. public virtual ValueTranslation value2Translation {get; set;}
  10. [ForeignKey("value3")]
  11. public virtual ValueTranslation value3Translation {get; set;}
  12. }
  13.  
  14. public class ValueTranslation {
  15. [Key]
  16. public int valuekey {get; set;}
  17. public string valuedescription {get; set;}
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement