Iowa Code 282.10 defines whole grade sharing as a procedure used by school districts whereby all or a substantial portion of the pupils in any grade in two or more school districts share an educational program for all or a substantial portion of a school day under a written agreement pursuant to Iowa Code 256.13Iowa Code 280.15, or Iowa Code 282.7(1). Whole grade sharing may either be one-way or two-way sharing.