public static int InsertArchives(byte bigType, byte smallType, double amount, double price, double paidMoney, double stayingPrice, double profit, MyDateTime addeddate1, MyDateTime addeddate2, MyDateTime addeddate, string details) { ArchivesDetails tb1 = new ArchivesDetails(0, bigType, smallType, amount, price, paidMoney, stayingPrice, profit, addeddate1, addeddate2, addeddate, details); int x = myRealProvider.InsertArchives(tb1); return(x); }