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