CustomerContact.cs 475 B

1234567891011121314151617
  1. using InABox.Core;
  2. namespace Comal.Classes
  3. {
  4. [UserTracking(typeof(Contact))]
  5. public class CustomerContact : Entity, IRemotable, IPersistent, IManyToMany<Customer, Contact>, ILicense<CoreLicense>
  6. {
  7. [EntityRelationship(DeleteAction.Cascade)]
  8. public CustomerLink Customer { get; set; }
  9. [EntityRelationship(DeleteAction.Cascade)]
  10. public ContactLink Contact { get; set; }
  11. public ContactTypeLink Type { get; set; }
  12. }
  13. }