public void Insert(int UOMConversionID, string ItemNo, string FromUOM, string ToUOM, double ConversionRate) { UOMConversion item = new UOMConversion(); item.UOMConversionID = UOMConversionID; item.ItemNo = ItemNo; item.FromUOM = FromUOM; item.ToUOM = ToUOM; item.ConversionRate = ConversionRate; item.Save(UserName); }
public void Update(int UOMConversionID, string ItemNo, string FromUOM, string ToUOM, double ConversionRate) { UOMConversion item = new UOMConversion(); item.MarkOld(); item.IsLoaded = true; item.UOMConversionID = UOMConversionID; item.ItemNo = ItemNo; item.FromUOM = FromUOM; item.ToUOM = ToUOM; item.ConversionRate = ConversionRate; item.Save(UserName); }
public bool Destroy(object UOMConversionID) { return(UOMConversion.Destroy(UOMConversionID) == 1); }
public bool Delete(object UOMConversionID) { return(UOMConversion.Delete(UOMConversionID) == 1); }