Beispiel #1
0
 public decimal SumCostPrice(bool useconstr = false, string newconstr = "p")
 {
     var ta = new DsInventoryTableAdapters.STOCKMASTERTableAdapter {Connection = {ConnectionString = useconstr?newconstr: _constr}};
     return (decimal) (ta.SumCprice(Utils.Company) ?? 0);
 }