Ok, let's assume that you have an entity called
Studen
and this entity has an attribute/property called
ID
and somehow you reach a point that you want to create a folder in file-system for your entity.
Solution:
Student student = Model.Students.FirstOrDefault(); <br />
string folder="StudentInformation"; <br />
Directory.CreateDirectory(Path + folder + sudent.ID.ToString());<br />
Cheers,
AH