using InABox.Core; namespace Comal.Classes { [UserTracking(typeof(Contact))] public class SupplierContact : Entity, IRemotable, IPersistent, IManyToMany, ILicense { [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(); } } }