Advertisement
Guest User

Untitled

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