1234567891011121314151617181920212223242526272829 |
- using System;
- using InABox.Core;
- namespace Comal.Classes
- {
- public class SupplierProductLink : EntityLink<SupplierProduct>
- {
- [LookupEditor(typeof(SupplierProduct), "SupplierLink.Code", "SupplierLink.Name")]
- public override Guid ID { get; set; }
- public SupplierLink SupplierLink { get; set; }
- [NullEditor]
- public ProductLink ProductLink { get; set; }
- [CodeEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
- public string SupplierCode { get; set; }
- [TextBoxEditor(Editable = Editable.Hidden)]
- public string URL { get; set; }
- protected override void Init()
- {
- base.Init();
- SupplierLink = new SupplierLink();
- ProductLink = new ProductLink(LinkedEntity);
- }
- }
- }
|