public static int InsertBusinesDeal(int id, int typeid, int manid, double amount, double businessprice, double clientprice, double paidmoney, string details, string manname, string typename) { BusinesDealDetails tb1 = new BusinesDealDetails(id, typeid, manid, amount, businessprice, clientprice, paidmoney, details, MyDateTime.Now, manname, typename); int x = myRealProvider.InsertBusinesDeal(tb1); return(x); }