EGR1 and NAMPT can be used as marker genes for childhood-onset T2D, and gestational diabetes and chronic inflammation are risk factors that lead to the development of childhood-onset T2D. The gene discussed is EGR1; the disease is gestational diabetes.