public static void Insert <T>(this ODatabase db, T model,
                               OTransaction transaction) where T : OBaseRecord, new()
 {
     InsertHelper(db, model, transaction, new List <object>());
 }