VDR and diabetes mellitus: Thus, vitamin D could have a role in maintaining pancreatic β-cell function and help to enhance insulin secretion through VDR, and therefore, supplementation with vitamin D could prevent β-cell loss and delays the onset of DM.