public Device(int Ref) { lObj = new TableWrapper("Device"); lObj.Fields["Ref"].Value = Ref; lObj.Load(); Custom = new DeviceCustom(); Custom.Initialize(); Custom.Load(Ref.ToString(CultureInfo.InvariantCulture)); }
//Constructors public Device() { Custom = new DeviceCustom(); }