private static void AddParms(ref DBAccess db, Currency c) { var with_1 = c; db.AddVarChar("CurrencyCode", with_1.CurrencyCode, 10); db.AddNVarChar("CurrencyDesc", with_1.CurrencyDesc, 50); db.AddDecimal("CurrencyRate", with_1.CurrencyRate); db.AddDateTime("CurrencyDate", with_1.CurrencyDate); db.AddNVarChar("CurrencySymbol", with_1.CurrencySymbol, 50); AddParmsStandard(db, c); }