//Constructors
 public InspectionBase(string InspID, string inspectionType )
 {
     lObj = new TableWrapper("InspH");
     lObj["Insp_ID"] = InspID;
     lObj["InspType"] = inspectionType;
     lObj.Load();
 }
Exemple #2
0
        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));
        }