123456789101112131415161718192021222324 |
- using InABox.Core;
- namespace Comal.Classes
- {
- [UserTracking(typeof(Contact))]
- public class CustomerContact : Entity, IRemotable, IPersistent, IManyToMany<Customer, Contact>, ILicense<CoreLicense>
- {
- [EntityRelationship(DeleteAction.Cascade)]
- public CustomerLink Customer { get; set; }
- [EntityRelationship(DeleteAction.Cascade)]
- public ContactLink Contact { get; set; }
- public ContactTypeLink Type { get; set; }
- protected override void Init()
- {
- base.Init();
- Customer = new CustomerLink();
- Contact = new ContactLink();
- Type = new ContactTypeLink();
- }
- }
- }
|