public void Insert(int InDimensionsId,string InDescription,byte[] InTs) { PricerInputType item = new PricerInputType(); item.InDimensionsId = InDimensionsId; item.InDescription = InDescription; item.InTs = InTs; item.Save(UserName); }
public void Update(int InTypeId,int InDimensionsId,string InDescription,byte[] InTs) { PricerInputType item = new PricerInputType(); item.MarkOld(); item.IsLoaded = true; item.InTypeId = InTypeId; item.InDimensionsId = InDimensionsId; item.InDescription = InDescription; item.InTs = InTs; item.Save(UserName); }