public BomRow DeleteBomRow(BomRow bomRow) { return(ExecuteOnDatabase(delegate(LiteDatabase database) { database.GetCollection <BomRow>().Delete(bomRow.Id); return bomRow; })); }
public BomRow CreateBomRow(BomRow bomRow) { return(ExecuteOnDatabase(delegate(LiteDatabase database) { database.GetCollection <BomRow>().Insert(bomRow); return bomRow; })); }