private static void AddParms(ref DBAccess db, IncassoSag i) { var with_1 = i; db.AddNVarChar("ContactEmail", with_1.ContactEmail, 250); db.AddNVarChar("ContactName", with_1.ContactName, 50); db.AddInt("Status", (System.Int32)with_1.Status); db.AddInt("CompanyID", with_1.CompanyID); db.AddInt("InvoiceID", with_1.InvoiceID); db.AddDateTime("IncassoDate", with_1.IncassoDate); db.AddNVarChar("Notes", with_1.Notes, -1); db.AddFloat("InvoiceTotal", with_1.InvoiceTotal); db.AddFloat("RenterOpgjortAfKreditor", with_1.RenterOpgjortAfKreditor); db.AddFloat("GebyrOpgjortAfKreditor", with_1.GebyrOpgjortAfKreditor); db.AddFloat("RenteTilskrevetFraPaymentDatetilDD", with_1.RenteTilskrevetFraPaymentDatetilDD); db.AddFloat("GebyrForDenneRykkerskrivelse", with_1.GebyrForDenneRykkerskrivelse); db.AddFloat("IncassoTotal", with_1.IncassoTotal); db.AddFloat("IncassoSalaer", with_1.IncassoSalaer); db.AddFloat("Oversendelsesgebyr", with_1.Oversendelsesgebyr); db.AddBoolean("Paid", with_1.Paid); db.AddDateTime("PaidDate", with_1.PaidDate); AddParmsStandard(db, i); }